How to Hand Off a Figma Design So It's Built Exactly Right
Why designs change during the build, and eight steps to prepare a Figma file so the site or app matches the design and you save days of back-and-forth.

For a Figma design to become matching code, the file has to answer every question a developer might ask before they ask it: colours, type and spacing defined as variables, elements built with Auto Layout, every button and field with all its states, a mobile version, and real text. When those are missing the developer guesses, and guessing is what changes the design.
It happens all the time: a beautiful design in Figma is handed to a developer, and the site comes back… different. The spacing is off, the type looks wrong, and mobile is strange. Usually it's nobody's fault in particular. The handoff itself was incomplete.
Why designs change during the build
- Inconsistent values: five near-identical greys, and spacing of 13, 14 and 15 pixels on the same page. The developer rounds to the nearest sensible value, and the design shifts a little everywhere.
- Missing states: what does the button look like while loading? The form with an error? An empty list? Any state that wasn't designed gets designed during development.
- No mobile version: the developer decides alone how the page behaves on a small screen.
- Undescribed motion: "a nice animation" is not a description.

Eight steps to prepare a Figma file for handoff
1. Variables and styles for everything that repeats
Colours, type, spacing and corner radii are defined once and named for their use: primary, text-muted, space-16. The developer turns them into variables in the code with the same names, so a later change to your brand colour happens in one place instead of 200.
2. A fixed spacing scale
Pick a scale such as 4, 8, 12, 16, 24, 32 and 48, and stick to it. That makes the build precise and keeps the design consistent, even on pages designed later.
3. Auto Layout everywhere
Use Auto Layout in Figma. It tells the developer how elements stack side by side or on top of each other, and how they behave when content grows or shrinks. It maps closely to Flexbox in CSS, so the translation is direct.
4. Components with all their states
Every button, field and card should be a component, with all its states as variants: default, hover, pressed, disabled, loading, error and empty. These states shape how the product feels to use, as explained in UX mistakes.
5. Design for mobile and desktop
At least two sizes: mobile (around 375 pixels) and desktop. If the site is Arabic, design the Arabic version right-to-left yourself; don't just mirror the English. Details in how to design a proper Arabic website.
6. Describe motion
Next to each animation, note what moves, from where to where, how long it takes (200 milliseconds, say) and the easing (ease-out). Or build a Figma prototype that shows it. Motion that isn't described either doesn't get built, or gets built differently from what you pictured.
7. Real content
Instead of "Lorem ipsum", use real text at real lengths, especially in Arabic. A three-word product name looks great in the design; a real nine-word product name breaks the card. Better to find that out in Figma than after launch.
8. A notes page
A page in the file listing the fonts used and where to get them, anything the design can't show ("this list comes from the CMS"), build priorities, and any decision made after discussion.
The developer's part
- Review the whole file and ask questions before starting, not after finishing.
- Build the components first (buttons, fields, cards), then assemble pages from them.
- Show work as it goes, page by page, instead of delivering everything at once.
- Compare the build with the design at the same size before saying "done".
Half an hour saves a week
Hold a short call between the designer and developer at the start of the project and open the file together. Half an hour of talking saves days of messages and revisions, and makes sure each understands what the file can't say.
Turning Figma designs into matching code is our daily work in frontend development, and we also work with agencies and designers as their build team. If the design is for a full website, see website development.
Frequently asked questions
Can I use tools that convert Figma to code automatically?
They're useful for quick prototypes, but the code they produce is usually hard to maintain and not properly responsive. For a real product, a developer building clean components pays off over time.
Does the developer need a paid Figma plan?
Dev Mode makes reading values easier, but it isn't essential. What matters is an organised file the developer can view and comment on.
There's no design system. Where do I start?
Start with the basics: five colours, two type styles with their sizes, a spacing scale, and a button and a field with their states. That's enough for most sites and grows with the project.



