Skip to Content
SmartUI

Typography and scale

One typeface, one type scale and a 4 px grid.

Type scale

The typeface is Inter. Style names follow the Apple scale so they feel familiar on iOS. body is the default in the app, compact in the dashboard. The smallest text is 11 px.

TokenSize / line heightWeightUsed for
--sui-text-display34 / 41700Large numbers and opening titles
--sui-text-title-128 / 34700Page titles
--sui-text-title-222 / 28600Section titles
--sui-text-title-320 / 26600Dialog and sheet titles
--sui-text-headline17 / 24600Card titles
--sui-text-body17 / 24400Main text in the app
--sui-text-callout16 / 22400Form text on touch
--sui-text-subheadline15 / 20400List rows, large button labels
--sui-text-compact14 / 20400Main text in the dashboard
--sui-text-footnote13 / 18400Supporting text, field labels
--sui-text-caption-112 / 16400Small notes
--sui-text-caption-211 / 14500Tags and eyebrows

Spacing

A 4 px grid. The token number times four is its value.

TokenValueTokenValue
--sui-space-0-52--sui-space-624
--sui-space-14--sui-space-832
--sui-space-28--sui-space-1040
--sui-space-312--sui-space-1248
--sui-space-416--sui-space-1664
--sui-space-520

Radius

TokenValueUsed for
--sui-radius-xs6Checkbox
--sui-radius-sm8Menu items, tooltips
--sui-radius-md12Fields
--sui-radius-lg16Alerts, popovers
--sui-radius-xl20Choice cards, tab track
--sui-radius-2xl24Cards, dialogs
--sui-radius-3xl28Bottom sheets
--sui-radius-full999Buttons, chips, badges

Control sizes

Buttons, fields, selects and chips share the same heights, so they line up when placed side by side.

TokenValueUsed for
--sui-control-xs28Table row actions
--sui-control-sm32Toolbars and filters
--sui-control-md40Desktop default
--sui-control-lg48Touch default
--sui-hit-min44Minimum touch target

On this page