Export design tokens to Storybook
Overview
Extract a site's tokens and generate a Storybook design token page. Colors, typography, spacing, and radii documented as living components that stay in sync with the live product.
Storybook is the standard for component documentation, but design token documentation inside Storybook is often missing or maintained manually. Extract the live site's tokens and ask an agent to generate a tokens.stories.tsx file with visual swatches for colors, a type scale specimen, a spacing grid, and border radius examples. The stories derive their values from extracted constants so they reflect the actual shipped design system.
Extract tokens
tokens.stories.tsx with visual documentation of all extracted design tokens.
More in Code & Tokens
Browse all
All recipes →
Continue reading
Getting started
Install Dembrandt and turn any public website into a complete set of design tokens in under 2 minutes. All you need is Node.js and a terminal.
MCP
Use Dembrandt as a tool inside Claude Code, Cursor, Windsurf, or any MCP-compatible editor. Your agent extracts live design tokens automatically when you ask.
Skills
30 UX and design system skills for AI agents. Install once, your agent designs with hierarchy, WCAG standards, and brand accuracy. The UX knowledge that normally costs senior consultant days.