UserHappyDesign system
Storybook

Spacing & shape

Use the recorded spacing steps and shape tokens to keep related elements together.

Spacing scale

--space-14px
--space-212px
--space-316px
--space-424px
--space-530px
--space-632px
--space-740px
--space-860px

Shape

Rounded
8px
Card
16px
Pill
30px

Use the shape belonging to the component. A pill choice, a card, and a regular control have different jobs.

Responsive behavior

Preserve content order, visible focus, and touch targets as space narrows. Long labels should wrap without covering adjacent controls.

Inspect the small-screen control examples

Source: design-docs/src/tokens.css · design-docs/src/foundations/Spacing.mdx