Sizes
Two component sizes: a 36px default and a 28px compact. Press S to toggle on the website.
The principle
An interface reads as one product when its controls share a sizing rhythm. A button next to a select next to a tab should land on the same height.
Each size scales text, icons, and padding together.
Compact is for dense, data-heavy tools; default is the right call for everything else.
Typography scale
Type follows the ladder. Compact drops the type roles one notch, size and leading together, so a dense screen keeps the same hierarchy at a smaller size. The full scale lives on Typography.
Compact regions
Choose one density for the region. An Effect UI owner passes the same size through its controls and menus, including portalled content.
Token reference
The table, measured live: hover a control below and every number in the readout is a token from this table. Flip the step and the element re-measures under your cursor.
| Token | Applies to | Default | Compact |
|---|---|---|---|
| control | Control and menu row height | h-9 · 36px | h-7 · 28px |
| segmentItem + segmentPad | Segment height and inset | 28px + 4px inset | 24px + 2px inset |
| text | Control labels | 13px / 20px | 12px / 18px |
| field | Editable text | 13px / 20px, 16px on touch | 12px / 18px, 16px on touch |
| icon | Leading and trailing glyphs | 16px | 14px |
| px / itemPx | Control / row horizontal padding | 12px / 8px | 10px / 6px |
| gap | Icon-to-label and control spacing | 8px | 4px |
Region presentation
| Prop | Type | Default | Description |
|---|---|---|---|
| size | default | compact | default | Resolve once in the owner and pass to each control, including popups. |
Component size prop
| Prop | Type | Default | Description |
|---|---|---|---|
| size | default | compact | default | Shared option on Select, Tabs, Dropdown, CheckboxGroup, InputGroup and other Fluid controls. |
| buttonSize | default | compact | default | Button’s text-control size; the icon-only variants have separate names. |
Effect UI port notes
The region owner supplies explicit size props to its controls and menus. The inspector measures the actual control geometry on pointer hover or keyboard focus.