Figma design to HTML
Cursor, connected to Figma's Dev Mode MCP, turned a selected Figma design into HTML and CSS from one prompt containing the design URL.
One prompt produced the thumbnail section with accurate colours, layout and button hover states, and it beat the earlier Lovable attempt built from static images.
Overview
How it was set up
Figma Dev Mode MCP linked to Cursor on its free Pro trial. A local Git repo synced to GitHub was opened in Cursor, then the Figma selection URL was pasted into the prompt.
Worth knowing
It missed the font and font weights, likely because Rotis is not a free web font. More tweaking is still needed.
A prompt to start from
Using the Figma design at [Figma Dev Mode URL], build this component in HTML and CSS in this repository.Written by Agentic Feats from the source. Not the author's exact prompt.
Sources 1
History
- Source published
- 2025-08-05
- Added to Agentic Feats
- 2026-10-13
- Pick
- No
- Markdown copy
- /c/figma-design-to-html-cursor.md
More in coding
131 featsResult$28,335 spent, 9,350 commits across 145 repos, with spend up 7.4x in April after parallel git worktrees. Only 0.7% of tool calls ran overnight.
ResultOpus 5.5 recorded the repo's demo video itself using the record feature, and the author uses the tool constantly for debugging.
ResultA nightly workflow found a meteor on 25 October 2026. The bundled night detector found 95% of planes and 90% of meteors on held-out nights.