---
title: "From Figma mock-up to website: what happens along the way."
url: https://www.bonbay.fr/en/ia/agence-webdesign/maquette-direction-artistique/maquette-figma-au-site/
site: "Bonbay IA"
description: "How a Figma mock-up becomes a website: file preparation, components, build, screen-by-screen checks. What gets lost along the way, and why."
updated: 2026-11-13
---

# From Figma mock-up to website: what happens along the way.

> Going from a Figma mock-up to a website takes four steps: prepare the file with named styles and components, translate those settings into variables in the code, build page by page, then compare the result with the mock-up on computer and phone. Discrepancies almost always come from a poorly prepared file.

Yet an approved mock-up isn't a website yet. Here are the steps in between.

## En bref

- **An organised file** Colours, text sizes and spacing are declared once, then reused everywhere.
- **The same names in the mock-up and the code** A button has the same name in the mock-up and in the code.
- **A visual check** Each built page is placed side by side with its mock-up.

## Prepare the mock-up for the build

A mock-up can be beautiful and unusable. So we clean up the file: shared styles, components, grids.

We also design what often gets forgotten: the button on hover, the field in error, the page with no results, the menu open on a phone.

## Turning the design into code

The mock-up settings become variables in the code: a colour, a size, a spacing each has a name. Change the value in one place and it changes everywhere.

The build is then done component by component, then page by page.

## What inevitably changes along the way

A mock-up is fixed at a few widths. A website displays at every size, with text you'll change.

Font rendering also varies slightly from one browser to another.

## Questions fréquentes

### Do I need to know Figma to give approval?

No. You receive a link that opens in your browser.

### Can you build a mock-up made by someone else?

Yes. We first review the file and flag what's missing, then we price the build.

### Are Figma-to-code tools enough?

They provide a basis for simple pages. The code they produce almost always needs reworking to be maintainable and to fit every screen.

### Will the site be identical to the mock-up?

Very close, but not pixel-identical on every device. You see the comparison page by page, and we fix what matters.

### Can the design still change after build?

Yes. Thanks to variables, changing a colour or a text size is done in a single place.
