Controls
The shared controls, surfaces and overlays, and the text styles, each defined once. Every size and state is on this page, in light and dark. A component is approved here first; then the screens move onto it.
Text styles
Twelve named styles on the ten-step scale. A screen names a style and never writes a size, weight or tracking.
ui-t-title-heroGood morning, Ana30 / 700 / 1.1 · Today’s greeting onlyui-t-title-pageProjects26 / 800 / 1.15 · every page titleui-t-title-modalSauna Fest announcement23 / 800 / 1.2 · object-modal titleui-t-title-cardThis week19 / 700 / 1.25 · card and dialog titlesui-t-headingWaiting on you16 / 700 / 1.3 · section headingsui-t-bodyThree deliverables are waiting for your review.14 / 500 / 1.5 · defaultui-t-body-strongMall banner, large format14 / 700 / 1.5 · row titles, emphasisui-t-smallDesign · updated today at 10:1513 / 500 / 1.35 · dense rowsui-t-captionSent 16:10 · waiting on Content12 / 500 / 1.35 · meta, timestampsui-t-labelIn review11 / 700 / 1.2, uppercase · the one section labelui-t-micro1210 / 700 / 1.2 · badges, counts, initials. Never sentencesui-t-display8646 to 86 / 800 / 1, tabular · the two hero numbersButton
Fixed height, pill. Compact 34 (inside rows, tiles and dense toolbars only) · default 44 · large 48. Label 13/600 · 14/600 · 16/700. Icon 16 · 18 · 20 with an 8px gap.
Replaces: 28 class names, 22 heights
Icon button
A circle, 34 · 44 · 48, icon 16 · 18 · 20 centred with grid. Always has an aria-label. Same variants and states as Button.
Replaces: 17 class names, 7 sizes, two shapes
Badge
A status. Read-only, never pressable, coloured by meaning. Medium 24 (12/600) · small 20 (11/700). The tone names the status, not the colour.
Replaces: 104 class names, 26 rendered variants, 17 to 34px
Segmented
One choice from a few. A pill track, 44 or 34. Arrow keys move the choice. The status control in the object modals is the same component.
Replaces: 23 class names for one idea
Modal
One frame for every dialog. Header 60: the title, then the close button, always last. Body padding 20. Footer with a hairline: a quiet destructive action on the left, the primary action right-most. Esc, the close button and a click on the scrim close it; focus moves in, stays in, and returns to the control that opened it. Under 768 px it is a sheet on the bottom edge.
Replaces: 4 overlay families, 43 class names, 4 scrims, 4 kinds of close control
Toast
One line that confirms what just happened, bottom centre. It leaves on its own after 5 seconds, held while the pointer or the keyboard is on it. One action at most, and it is always the way back.
Replaces: 5 toasts drawn by 5 screens, before the shell took them over
Empty state
What is not here yet, and the one way forward. In a row, in a card, or a whole page.
Skeleton
The shape of what is loading, in place of the content, until it arrives.