UI chrome buttons
Tiny toolbar, table, and route chrome controls.
--primitive-size-ui-2xs2xs / 24px--primitive-size-ui-xsxs / 28px--primitive-size-ui-smsm / 32px--primitive-size-ui-mdmd / 36pxNamed component sizes for buttons, icon buttons, pills, chips, badges, cards, rows, fields, icon wells, and media frames so downstream pages stop guessing dimensions.
Primitive sizing scale is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.
Primitive sizing scale: Named component sizes for buttons, icon buttons, pills, chips, badges, cards, rows, fields, icon wells, and media frames so downstream pages stop guessing dimensions.
The scale mirrors the current code: small shadcn-style chrome controls, 44px-plus command buttons, compact icon tools, dense rows, and larger reusable card/media frames.
Tiny toolbar, table, and route chrome controls.
--primitive-size-ui-2xs2xs / 24px--primitive-size-ui-xsxs / 28px--primitive-size-ui-smsm / 32px--primitive-size-ui-mdmd / 36pxPrimary app actions, forms, destructive actions, and CTAs.
--primitive-size-command-smsm / 44px--primitive-size-command-mdmd / 48px--primitive-size-command-lglg / 56pxIcon-only controls, tool buttons, and compact action wells.
--primitive-size-icon-button-xsxs / 24px--primitive-size-icon-button-smsm / 28px--primitive-size-icon-button-mdmd / 32px--primitive-size-icon-button-lglg / 36px--primitive-size-icon-button-xlxl / 44pxBadges, tabs, filters, facets, states, and segmented labels.
--primitive-size-pill-smsm / 24px--primitive-size-pill-mdmd / 28px--primitive-size-pill-lglg / 32pxList rows, table rows, setting rows, and dense operational records.
--primitive-size-row-smsm / 36px--primitive-size-row-mdmd / 44px--primitive-size-row-lglg / 56pxInputs, selects, textareas, search fields, and filter controls.
--primitive-size-field-smsm / 36px--primitive-size-field-mdmd / 44px--primitive-size-field-lglg / 52pxGlyph containers for cards, actions, navigation, and data states.
--primitive-size-icon-well-smsm / 32px--primitive-size-icon-well-mdmd / 40px--primitive-size-icon-well-lglg / 48pxReusable card minimum heights before a route adds content density.
--primitive-card-min-smcard sm / 160px--primitive-card-min-mdcard md / 220px--primitive-card-min-lgcard lg / 320pxThumbnails, card media, and hero frames with named responsive limits.
--primitive-media-thumbthumb / 96px--primitive-media-cardcard / 168px--primitive-media-herohero / 420px| Family | Contract | Primary consumers |
|---|---|---|
| Button | 24/28/32/36 for chrome; 44/48/56 for commands | Actions |
| Icon button | 24/28/32/36/44 square wells | Actions / navigation / file browser |
| Pill | 24/28/32 height with pill radius | Selection / feedback / data display |
| Card | 160/220/320 min-height families | Surfaces / data display / marketing |
| Row | 36/44/56 row rhythm | Tables / file browser / search |
| Field | 36/44/52 field rhythm | Forms / search / filters |
| Icon well | 32/40/48 wells, glyph separate from well | Icons / actions / cards |
| Media frame | 96 thumb, 168 card, 420 hero | Media / section patterns |