Skip to content
Statix Design System

Foundations

Spacing & shape

Four radii, a 4px spacing grid, three control heights and faint shadows. Statix separates areas with fills and 1px hairlines, not with shadows.

Radius

Cards are 28px, things inside a card 16px, small elements 10px. Buttons and chips are pills. Nest radii from large to small: a 16px field sits in a 28px card.

rounded-card · 28

--sx-radius-card

Cards

rounded-lg · 16

--sx-radius-md

Fields and tiles inside cards

rounded-sm · 10

--sx-radius-sm

Small elements: swatches, menu items, tags

rounded-full · 999

--sx-radius-pill

Buttons, chips, pill inputs

Spacing

Steps of 4px. Tailwind's default spacing already matches: p-4 is 16px. Card padding is 24 to 32px, gaps between cards 16 to 20px, gaps inside a card 8 to 12px.

TokenPixelsUtilitySize
44pxp-1
88pxp-2
1212pxp-3
1616pxp-4
2020pxp-5
2424pxp-6
2828pxp-7
3232pxp-8
4040pxp-10
4848pxp-12
6464pxp-16
8080pxp-20

Control heights

Buttons, inputs and selects share three heights so they line up in a row. Medium (44px) is the default and meets the 44px touch target.

36px

h-control-sm · 36

--sx-size-control-sm

Small buttons and inputs

44px

h-control-md · 44

--sx-size-control-md

Default buttons and inputs

52px

h-control-lg · 52

--sx-size-control-lg

Hero and checkout buttons

32px

h-chip · 32

--sx-size-chip

Chips and filter pills

size-5 · 20

--sx-size-icon

Lucide icons next to text

h-nav · 72

--sx-size-nav

Top navigation bar

Shadows

Three shadows, all tinted with ink and kept faint. Most surfaces need none: put a white card on the page background and let the fill do the work.

shadow-card

Raised cards on the page background

shadow-overlay

Popovers, menus, dialogs, sheets

shadow-dock

Floating docks and sticky action bars

Lines

Hairlines are 1px. Use border-border for dividers and card outlines and border-border-strong for inputs and hovered outlines.

border-border
border-border-strong

Breakpoint

Statix layouts switch once, at the tablet breakpoint. Write mobile styles first and add the tablet: variant for wider screens. Tailwind's default breakpoints (sm to 2xl) still work for grids that need more steps.

VariantMin widthExample
tablet:56.25remgrid gap-4 tablet:grid-cols-2