Brik Design System
Primitives

Size

Dimensional constraints for containers, breakpoints, and elements.

Size tokens define dimensional constraints — how big things can be, where the layout breaks, what hero heights to clamp.

Size scale (primitives)

--size-0
0px
--size-25
1px
--size-50
2px
--size-100
4px
--size-150
6px
--size-200
8px
--size-300
12px
--size-400
16px
--size-500
20px
--size-600
24px
--size-700
28px
--size-800
32px
--size-900
36px
--size-1000
40px
--size-1100
44px
--size-1200
48px
--size-1300
48px
--size-1400
52px
--size-1500
56px
--size-1600
60px
--size-1700
64px
--size-1800
72px
--size-1900
80px
--size-2000
84px
--size-2100
88px
--size-2200
96px

Semantic size tokens

Container sizes

Width constraints for content containers. Pair with max-width to bound page-level content.

TokenCSS VariableValue
Full width--container-size-full-width100%
Three-quarter--container-size-three-quarter-width75%
Two-third--container-size-two-third-width66%
Half--container-size-half-width50%
One-third--container-size-one-third-width33%
Quarter--container-size-quarter-width25%

Screen breakpoints

Used in CSS media queries and responsive container sizing.

TokenCSS VariableValue
Wider--screen-size-wider1440px
Wide--screen-size-wide1280px
Desktop--screen-size-desktop1080px
Tablet--screen-size-tablet768px
Mobile--screen-size-mobile320px

Hero constraints

TokenCSS VariableValue
Max hero height--container-size-max-hero-height100vh
Max hero width--container-size-max-hero-width100vw

Element sizes

Semantic size tokens follow the same tiny-to-huge scale as spacing — for icons, dots, indicators.

TokenValue
--size-tiny2px
--size-sm4px
--size-md8px
--size-lg16px
--size-xl24px
--size-xxl32px
--size-huge40px

On this page