Back to all articles

A design system from Figma to Framer or code: where does AI help?

You change the spacing in a card in Figma. The card also lives in Framer and in a coded demo. Where do you apply the change now? If you maintain three versions for every variant, most of the gain lies in a clearer division of labour between your files.

Leisteenblauw golfkarton met gedeelde componenten

Decide where each decision belongs

Figma is useful for judging a proposal and discussing variants. Framer or the code determines how the component behaves on the real website. Record the shared agreements in words that are recognisable in both environments. State, for example, when a button is primary, how much space sits inside a card, and what happens when the text gets longer.

Make one production choice per project. If you build in Framer, turn the recurring parts into Framer components. If you build in code, translate the agreements into the project's own components and styles. For a small site, a fixed set of a few key patterns is often enough to start with.

Give AI one component and a clear brief

A useful starting point is a Figma card with real content and two variants. Give Claude or another code assistant the spacing and typography values, the behaviour on mobile and the components that already exist in your project. Ask for one proposal in HTML and CSS, or in the setup your team already uses. That lets you judge specifically what was carried over and where the code is filling in a design decision.

Then test the real content. Put a long title in the card, remove the image and check the tab order. Only let AI help with the next component once your first example is right. Reusing one controlled approach is clearer than having a whole library converted at once.

Keep changes small and traceable

In GitHub, you can view and discuss a change in a separate pull request before merging it. Add a screenshot or preview when the change is visual. Also note which agreement in Figma needs to be updated. With that habit, you can see at the next round which choices have already made it into the live site. GitHub on reviewing changes.

Start with the component you update twice most often. Once you have one repeatable route for that card, button or form group, you can line the rest of the system up behind it. See my approach to design systems.

Cookie preferences

I count visits without cookies, which needs no consent. Google Analytics and marketing tools are not switched on. If I ever switch them on, they load only after you accept.

Necessary cookies

Required for the website to function properly. These cannot be disabled.

Analytics cookies

Google Analytics, not in use at the moment.