Design token generator
Everything you've made in the Lab, in one file: colour ramps, type scale, spacing, radius and layout grid, as CSS custom properties, a Tailwind config, SCSS variables or W3C DTCG JSON for your token pipeline.
- Free, no sign-up
- Runs in your browser
- Saves as you go
How to use it
- Make your foundations
Use the palette, type, spacing and grid tools. Each one saves as you go.
- Review them here
Each card shows what's included. Select one to edit it in its own tool.
- Add a prefix and export
An optional prefix (acme-color-brand-500) avoids clashes; copy or download the file.
Which format should I use?
| Format | Use it when |
|---|---|
| CSS custom properties | You want tokens available in any stylesheet or framework, and themeable at runtime. |
| Tailwind | Your product uses Tailwind and you want the tokens as utility classes. |
| SCSS | Your codebase uses Sass and compiles values at build time. |
| DTCG JSON | You run a token pipeline (Style Dictionary, Tokens Studio, a Figma variables plugin). This is the vendor-neutral format from the W3C Design Tokens Community Group. |
Primitive tokens first
The file contains primitive tokens: the raw palette, sizes and steps. The next step in a design system is a layer of semantic tokens that name a job (color-text-muted, space-inset-card) and point at primitives. Product code uses the semantic layer, so themes and rebrands only change the mapping.
Questions
What is a design token file?
A file of named design decisions (colours, sizes, spacing) that code and design tools read from, so values are defined once and used everywhere.
What is the DTCG format?
The JSON format from the W3C Design Tokens Community Group. Tools like Style Dictionary and Tokens Studio read it, and plugins can turn it into Figma variables.
Can I import tokens into Figma?
Export DTCG JSON and use a Figma variables or tokens plugin that reads the format.
Does the export include semantic tokens?
No. It exports primitives. Map them to semantic tokens that name each job; see our guide to design tokens.
Our two-week audit turns your real screens into a token plan, a first-components list and a rollout plan.