DS source keeps a design system in one place: a set of design tokens in three tiers, a live preview that renders real components from them in light and dark, and exports that put the same tokens into your app, your Figma file and your coding agent. You describe the system you want, answer a few questions, check the contrast and corner reports, and ship.
How to use it
There are three ways to start, and every one ends in the same workbench.
- Describe it to AI. Type what you are building on the home page and press
Design. A short wizard asks about palette, accent, surfaces, corners, type and depth, shows option cards for each, and builds the whole token set from your picks. See Your first design system. - Audit a site. Give the app a URL. It crawls the site's stylesheets, reads its colours, corners, fonts and shadows, scores what it finds, and can start the wizard from the site's own system.
- Start from a Figma file. The Figma plugin reads a file and opens the wizard seeded from it. See From a Figma file.
Once a project exists, the workbench is where you edit tokens, watch the preview, and open the checks. The exports live on the same page:
- The UI kit in your app. One command,
npx designsource add, writes the kit's components and your theme into an existing React app. - A new app.
npx designsource createwrites a Next.js starter already wearing the system. - Figma. A plugin that builds the variables, the component kit and page blocks in a Figma file.
- A coding agent. An MCP server that hands your agent the design system and a tool that adds the UI kit, so it integrates the system without copying anything by hand.
The exports support React apps only for now; Vue, Svelte, Angular and plain CSS are not supported yet.
How it works
Every value in the system is a token, and tokens come in three tiers. A design token holds a raw value: a colour, a spacing step, a corner radius, a font, a shadow. A semantic token names a role, primary or card or border, and points at one design token for light and one for dark. A component token names a slot a component paints, button.bg or input.border, and points at a semantic or design token. Nothing is written twice: change the brand colour's design token and every semantic and component token that reaches it follows, in the preview and in every export.
The preview is the real component kit, painted from the tokens through CSS variables, so what you see in the workbench is what designsource add installs. The checks read the same tokens: the contrast check grades every text and control pair in both themes, the corners check grades every component's radius against the strategy you picked, and the score folds those and a few more into one number.
Generation runs on your own API key for the model's provider, or on credits bought in the app. Your key is stored encrypted and never leaves the server. Building and previewing are free; every export, the UI kit, the starter, Figma and the agent server, needs Pro.
Related
- Concepts: the three tiers and the rules between them.
- Your first design system: the two starts, step by step.
- A tour of the workbench: where every control lives.