Skip to content
Resume
All posts

From Figma frame to typed React component

My design-to-code workflow with Claude Code, without losing the details.

by

This site was built from a Figma file, frame by frame, with Claude Code. Here's the workflow that kept the details intact.

1. Name layers like components

One Figma component maps to one React component, with the same name. Project Card in Figma is ProjectCard.tsx in code.

2. Tokens first

Colours, radii and the type scale go into CSS variables before any component is written. Components never hardcode a hex value.

3. Content stays out of components

Every string lives in typed content files. Components receive props, so swapping placeholder copy for real copy touches zero UI code.

4. Compare against the frame

After each page, screenshot it and compare it to the Figma frame before moving on.

Tagged

  • Figma
  • React
  • Workflow

Contact

Let’s build something thoughtful.

Open to internships and freelance work. Email is the fastest way to reach me — I usually reply within a day.