Want to see the slides from the talk? Find them here on Google Slides
This is the documentation from my talk at audio.dev 2026, You Need A Design System.
This is a tiny baby design system, and demonstrates a possible bridge between Figma variables and code. There's minimal token pipeline, and no build step: Storybook reads the JSON exported from Figma and turns it into CSS variables, and the components only ever use those variables.
Go into the Storybook folder in the cloned repo and do this:
npm install
npm run storybook # opens on http://localhost:6006Get the Figma file from the repo and open it in Figma.
Go to Plugins > Manange plugins ... at the top. Search Variables to JSON and install it. You can now launch this plugin from the plugins icon in the bottom toolbar (looks like a grid of four shapes).
- In Figma, change a variable. A good way to see how this works is to go into Tier 2 - Products which has the three product modes. Click on a colour and change it.
- Click on the plugins icon, select Variables to JSON. Click copy.
- In a code editor, paste everything into
tokens/figma-variables.jsonand save. This replaces the contents and updates the design system to your latest version of the variables. - Storybook updates by itself. No restart, no reload.
Go to http://localhost:6006 to see Storybook and explore all the components.
-
To see different product colourways: Go to the product switcher at the very top. The default is Ember, and you can switch with this dropdown.
-
To see light and dark modes select the Mode switch at the very top.
-
To see accessibility assessments, open the add-on panel (third icon from the right at the top - I know, it's not ideal). This opens the bottom panel where you can do things like change the text in your components, and there's an accessibility tab that will take you to any feature that it flags as problematic.
This whole token pipeline process has become significantly less painful with the age of agents. If you use this as a starting point and later expand it you'll likely run into some boring problems. I recommend pointing your agent at the Storybook (and you can also connect it to Figma via MCP to inspect tokens there, though I believe you need a paid account for that) and let the robot work out all the boring stuff.
There are times when tokens need to be structured in a particular way. If your robot recommends this don't bang your head against a wall figuring out how to do it - get the robot to write a Figma plugin that does exactly what needs to be done. Installing your own custom plugin is easy and free!
Happy designing!