Skip to content

Breakpoint tokens ​

Provisional

Breakpoint tokens are provisional until UX revises them. Bands, values, and naming may change.

Catnip uses XS, S, M, L, XL, and XXL for layout. Tokens are CSS --catnip-breakpoint-* variables and matching CatnipBreakpoint* JavaScript exports.

Source: packages/design-tokens/src/tokens/base/breakpoints.json

css
@import "@signicat/catnip-design-tokens/css";

Bands ​

BreakpointRangeFocus
XS0px – 479pxSingle column, high readability
S480px – 767pxPhablets and small tablets
M768px – 1023pxStandard tablets
L1024px – 1279pxLaptops
XL1280px and upDesktops
XXL1536px and up (min-width token)Large desktops / ultrawide

How the variables map ​

  • --catnip-breakpoint-xs-max (479px) — use with max-width for the XS band (0–479px).
  • --catnip-breakpoint-s-min, m-min, l-min, xl-min, xxl-min — use with min-width for mobile-first breakpoints (S through XXL).

Upper ends of S / M / L (767, 1023, 1279) are next band min − 1px if you need a max-width pair (for example calc(var(--catnip-breakpoint-m-min) - 1px) for the top of S).

Typography ​

Responsive font presets use the mobile column for viewports below M. The build inlines @media (max-width: 767px) because var() is not allowed in media query conditions. See Typography tokens.

Reference table ​

No breakpoint tokens were found. Build the design-tokens package (e.g. pnpm run build in packages/design-tokens) and restart the docs dev server.

Catnip Design System by Signicat