All writing
AI 3 min read

Figma first, then Claude

From brief to HTML: how I work with Figma and Claude

Figma for the design, Claude for the building, four steps to a clickable HTML prototype.

Nabhak "Yhai" S.Product Designer at OOZOU, Bangkok

Figma for the design. Claude for the building.

A brief arrives. The result has to be a clickable HTML prototype. Four steps.

A brief arrives. The result has to be a clickable HTML prototype. Four steps.

1. Get the brief

Before any design, I do three things.

  • Ask for more information.
  • Ask about the delivery timeline.
  • Negotiate the timeline.

My rough timelines.

  • Design in Figma, then turn it into a prototype: about 3 to 4 days. Do it in parallel.
  • A prototype with no design, only code: about 5 to 6 days. You need clear resources first, like images and layout.

Do not forget that AI has limits. If the tokens run out, you cannot do anything.

2. Process

I design in Figma first. Then I turn it into a prototype.

Connect your AI to Figma. It can help with tasks inside the file. It can also help with research.

AI can make an initial layout. It can make random template layouts in many styles to explore.

In the end, you still have to tweak them until they look good.

In the end, you still have to tweak them until they look good.

Small details are much easier to edit by hand.

AI takes time to produce a result. The result may not be what you want.

On the handoff file, name files and layers well.

Then the AI works more easily. It edits more precisely when you give it commands.

3. Prototyping

Alone

Working alone is convenient. More so on small projects.

You do not have to talk to anyone. You can prompt many parts at once.

  • Prepare a folder for the project, with a name. Put in the brief, the client files and the reference images you use in Figma. Keep it organised.
  • Explain everything in the prompt. Say where all your assets are, in as much detail as you can.
  • Keep looping the edit prompt until it looks good.
Keep looping the edit prompt until it looks good.

My prompt has this shape.

I want to create a game launcher as a clickable prototype, as an HTML file. Use the example or brief in the project folder on my computer. Use this Figma file as the design: [link]. When it's finished, open the preview in the browser and show it to me.

With a team

Now you divide the work carefully. You use GitHub to combine everyone's code into one project.

Conflicts happen. Fixing them can waste time.

  • Work in the company's private repo. Make sure your teammate is in the project.
  • The next steps are the same: prepare the folder, prepare the prompt, then keep fixing.
  • The difference: every fix needs a branch, and a merge into main. Every merge may have a conflict, and you resolve it.

Without a shared Figma file, talking is hard.

Here is my example. A teammate made a light mode for a game launcher. It did not look good, so it was removed.

I asked for it again. That cost a lot of tokens. In the end we removed it again, because it still was not nice.

It was a massive waste of both time and tokens.

It was a massive waste of both time and tokens.

When there is no shared file, I wonder what my teammate will make, and whether it fits what I am doing.

I wonder whether what I am doing matches what my teammate imagined.

Communication is hard. Finding our old messages is hard too.

4. Delivery

When everything is finished, upload your work to the company GitHub. Then tell the person who deploys, so it goes to the server.

Done.

Demo examples

You can try clickable demos built this way.

See the demo examples on my Work page.

They are client work, so they sit behind a key. Say hello and I will send you the link.

Want to talk shop?

A question, a different take or a story of your own? Email me. No newsletter, no pop-up.