Getting Started
Install Chassis CSS, set up the build, and orient yourself with the project — what it is, how to try it, how to install it, and how teams set it up for their own design system.
What's in this section
This section gets you from "I've heard of Chassis" to a working build pointing at your own design tokens. It's organized as a path: each page assumes you've read the ones before it.
You don't need to read everything to start using Chassis. If you're evaluating it, What is Chassis? and Quick Start are enough. If you're ready to install, jump to Installation. If your team will own the framework, Clone and Customize is where you'll spend most of your time.
Where to start
The pages have a deliberate order:
- What is Chassis? — The conceptual frame: Chassis isn't a stylesheet, it's a system rooted in Chassis Tokens. Read this first to understand the rest of the docs.
- Quick Start — Drop the compiled CSS into a
<link>tag and see Chassis render. No npm, no build, just a page in a browser. Use it to evaluate Chassis or to prototype before investing in a build. - Installation — The real setup: install
@chassis-ui/cssfrom npm, install the@chassis-ui/tokenspeer, and import them in the right order. This is the page most projects actually need. - Clone and Customize — For teams building a long-lived design system. Clone the framework, swap in your own token build, configure settings, and ship a CSS bundle that belongs to your product.
- Webpack, Parcel, Vite — Bundler-specific recipes once you know the import order. Pick the one that matches your project.
The remaining pages are reference material — read them when you need them.
- JavaScript — Data attributes, the programmatic API, events, and the full list of plugins.
- Accessibility — What Chassis gives you for free, what's still your responsibility.
- Browsers & Devices — Supported browsers and known mobile quirks.
- RTL — Right-to-left support and how to enable it.
- RFS — The fluid type and spacing engine Chassis uses internally.
- Contribute — Local setup for working on Chassis itself.
How Chassis differs from "include this CSS file"
Most CSS frameworks are a single stylesheet you drop into a <link> tag, possibly with a Sass entry point and a small set of override variables. Chassis adds two things on top of that:
- Tokens are a separate package. Every visual value — colors, spacing, typography, motion — comes from
@chassis-ui/tokens, which Chassis CSS imports as a peer dependency. Replace that package with your own token build and the same Chassis CSS code becomes your design system. - The framework is meant to be cloned. For long-running products, the recommended path isn't to install Chassis as an npm dependency and override variables. It's to fork the repository, point the
_vendor.scssimport at your own tokens, and own the CSS build. Chassis is designed to disappear into your design system, not sit on top of it as a dependency.
Both paths are documented. Quick Start and Installation cover the dependency path; Clone and Customize covers the fork path. Pick the one that fits the lifespan of what you're building.