Components
    • Barcodes
    • Buttons
    • Charts
    • Conversational UIupdated
    • Data Query
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editorupdated
    • Excel Export
    • File Saver
    • Filterupdated
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputs
    • Labels
    • Layoutupdated
    • ListBoxnew
    • ListView
    • Mapbeta
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PivotGridbeta
    • Popup
    • ProgressBarsupdated
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • ToolBar
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Typography
    • Uploads
    Styling & Themes
    Common Features
    Project Setup
    Troubleshooting
New to Kendo UI for Angular? Start a free 30-day trial

TypographyMarginOption

The possible values for the Default and Material themes are:

  • xs Applies 4px margin.
  • sm Applies 8px margin.
  • md Applies 12px margin.
  • lg Applies 16px margin.
  • xl Applies 24px margin.
  • thin Applies 2px margin.
  • hair Applies 1px margin.
  • Passing a number will apply a margin of 4 times the passed number in pixels. The minimum number value is 0 and the maximum is 24.

The possible values for the Bootstrap theme are:

  • xs Applies 0.25rem margin.
  • sm Applies 0.5rem margin.
  • md Applies 0.75rem margin.
  • lg Applies 1rem margin.
  • xl Applies 1.25rem margin.
  • thin Applies 0.125rem margin.
  • hair Applies 0.0625rem margin.
  • Passing a number will apply a margin equal to the passed number divided by 4 in rem units. The minimum number value is 0 and the maximum is 24.

type TypographyMarginOption = "xs" | "sm" | "md" | "lg" | "xl" | "thin" | "hair" | number;

In this article

Not finding the help you need?