How to build a design system with Claude, Cursor and Figma

You will turn a Figma file into a reusable design system, with a style guide, coded components and simple documentation. It suits designers, founders and engineers who want to ship features faster with AI. You need a Figma file, Claude, Cursor and access to your codebase.

YouTube video: I Built My Entire Design System in 4 Hours With AI. Full Tutorial (Claude + Cursor + Figma)

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
8 min 40 s
Time to do it
4 hours
Difficulty
Medium
Steps
8

What you need

Steps

  1. Open your Figma file and list the core colors, fonts, spacing, corner radii and shadows used across your main screens. Group them into a small set of reusable styles.

  2. Create Figma variables or local styles for each token, using clear names like color.bg.default and space.4. This gives you one source of truth before you build components.

  3. Open Claude and ask it to turn your token list into a design tokens file in JSON and CSS variables. Paste the exact values and names, then check the output for missing or duplicate tokens.

  4. Create a notes.md file at the root of your codebase. Add the token names, component rules and any decisions the AI should follow later.

  5. In Cursor, open your project and use Chat or Composer to generate your first components from the token file and Figma specs. Start with Button, Input, Card, Modal and Table.

  6. Generate one component at a time. Include its props, states, sizes and accessibility notes in the prompt, then review the code before moving on.

  7. Run your app and test each component in default, hover, focus, disabled and error states. Fix spacing, color and keyboard focus issues before adding the next one.

  8. Update notes.md after every component with its name, props, states and usage example. Commit the tokens and components together so the system stays in sync.

Tips and common mistakes

Build the style guide and tokens before you ask for components, or the AI will invent colors and spacing.

Keep prompts short and give Claude or Cursor the token file instead of describing colors from memory.

Review generated code for accessibility, especially focus states, labels and keyboard behavior.

Do not build every component at once. Ship five core components and add more when a real feature needs them.

Questions

Do I need coding experience to follow this workflow?

You need basic HTML, CSS and component knowledge because you must review and fix the generated code. A designer who only works in Figma will need a developer to help with setup.

Can I build the design system without Figma?

Yes, if you already have a style guide or live site to extract tokens from. Figma makes the color, type and spacing values easier to collect in one place.

How long does it take to build a usable design system this way?

The video's workflow targets about four hours for a small core system. Expect longer if your product has many unique screens or complex components.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all