Chassis React
Your design system in React. Accessible, typed and styled by your tokens.
Chassis React renders the markup of Chassis CSS, with behavior from React Aria. It is written in TypeScript and ready for Server Components.
npm install @chassis-ui/reactWhat you get
The components of the design. The behavior users expect.
Each component looks like the CSS framework and the Figma library, and handles keyboard, focus and screen readers itself.
Design system
Render what the design shows.
- Every component renders the markup and class names of Chassis CSS.
- Brands and dark mode come from Chassis Tokens, through custom properties.
- More than 70 components, each with live examples and a props table.
Accessibility
Get keyboard and screen reader support with every component.
- Built on React Aria and React Stately.
- Focus management and ARIA semantics need no extra code.
- Dates, numbers and text direction follow the locale of the user.
Engineering
Ship only what the page uses.
- Each component family is its own entry point, so bundles stay small.
- One client boundary per entry, tested with the Next.js App Router.
- Typed props, polymorphic elements and asChild, in strict TypeScript.
How it works
From an empty project to themed components.
Three steps take an application to accessible components, rendered on the server or in the browser.
Install to ship
01 · Install
Add the packages.
Install the React package with its Chassis CSS peer, and import the stylesheet once.
02 · Compose
Import and compose.
Import components from the root or a subpath, and pass typed props.
03 · Theme
Point it at your brand.
Use your Chassis Tokens, switch dark mode with a data attribute, and ship.
Works with
React comes last. It reads everything before it.
The components take their styles from Chassis CSS and their values from your tokens. Icons come from your icon set.
Chassis CSS
The stylesheet every component renders. It is a peer dependency of the React package.
Chassis Tokens
The source of the colors, type and spacing the components show, for each brand.
Chassis Icons
Your icon set, built as a font or a sprite that the components can use.
- React 19
- Server Components
- React Aria
- Accessible behavior
- TypeScript
- Strict, typed props
- Chassis CSS
- Token-driven styles
Get started
Start with the guide that matches your task.
Install the package and learn how it is themed, look up a component, or follow a pattern for a whole screen.
Getting started
- Introduction
Install the package and wire up the stylesheets.
- Theming
Brands and dark mode from your tokens.
- Accessibility
What each component does for keyboard and screen readers.
Components
Patterns
- Form Validation
Errors and messages on a form.
- Loading States
Skeletons and spinners while data loads.
- Paginated Table
A table with its pagination.