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 only
ui-t-title-pageProjects26 / 800 / 1.15 · every page title
ui-t-title-modalSauna Fest announcement23 / 800 / 1.2 · object-modal title
ui-t-title-cardThis week19 / 700 / 1.25 · card and dialog titles
ui-t-headingWaiting on you16 / 700 / 1.3 · section headings
ui-t-bodyThree deliverables are waiting for your review.14 / 500 / 1.5 · default
ui-t-body-strongMall banner, large format14 / 700 / 1.5 · row titles, emphasis
ui-t-smallDesign · updated today at 10:1513 / 500 / 1.35 · dense rows
ui-t-captionSent 16:10 · waiting on Content12 / 500 / 1.35 · meta, timestamps
ui-t-labelIn review11 / 700 / 1.2, uppercase · the one section label
ui-t-micro1210 / 700 / 1.2 · badges, counts, initials. Never sentences
ui-t-display8646 to 86 / 800 / 1, tabular · the two hero numbers

Button

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

Variantsdefault, 44
Compact34
Large48
With an icon
Primary
Secondary
Ghost
Quiet destructivefar left of a footer
Try itclick: loading holds the width; a toggle uses aria-pressed

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

Sizes34 · 44 · 48
Variants
Statesrest · hover · pressed · focus · disabled · loading · selected
With a count
Closethe modal’s ✕ and ⋯: compact circles

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

Statusmedium, with a dot
To doIn progressIn reviewWith clientScheduledApprovedBlocked
Small20, in dense rows
To doIn progressIn reviewWith clientScheduledApprovedBlocked
Solidone per view at most: the object’s own status
To doIn progressIn reviewWith clientScheduledApprovedBlocked
Healththe same tones, other words
On trackAt risk2 days lateScopeDue Friday
Object type
Change requestCoordination

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

Default44
Compact34
States
Statusvariant="status"

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

Try it

Empty state

What is not here yet, and the one way forward. In a row, in a card, or a whole page.

In a card
Nothing waiting for youNew work lands here when someone hands it to you.
With an action
No projects yetA project holds a client's deliverables and their steps.
In a row
All caught up

Skeleton

The shape of what is loading, in place of the content, until it arrives.

Lines
Rows