Home / Guides / Claude Figma auto layout
Generate Auto Layout Frames in Figma with Claude
Auto layout is what separates a usable Figma file from a pretty picture. If AI-generated frames are absolutely positioned, the first copy change breaks the layout. Claude can build screens on auto layout from the start, so they resize and stay tidy as you edit.
What good auto layout looks like
A well-built screen is a stack of nested frames, each with one job:
- A vertical page frame holding sections in order.
- Section frames with consistent padding, for example 64 by 32.
- Rows for horizontal groups like nav links or card grids, with a fixed gap.
- Hug contents on buttons and chips, fill container on text blocks and cards.
Ask for structure, not just looks
Claude responds well to structural instructions. Compare these two prompts:
A pricing section with three plans.
A pricing section on auto layout: a vertical section with 64 px padding, a heading, then a horizontal row of three plan cards with a 24 px gap. Cards fill the row equally and hug their content vertically.
The second prompt describes the frame tree you want. With Claude Design for Figma, everything lands as real auto layout frames on your canvas, so you can see and adjust gap, padding and alignment in the right panel straight away.
Use your spacing variables
If your file has spacing variables, mention them: "Use my space variables for gaps and padding." That keeps the rhythm consistent across screens and lets you change spacing globally later.
Test it like you would test your own work
- Make the frame narrower and wider. Rows should wrap or stretch, not overlap.
- Paste a long headline into a text layer. The section should grow.
- Delete a card. The remaining cards should close the gap.
- Check names. Good frames are named "Hero", "Features", "Plan card", not "Frame 213".
Fixing layouts by chat
You don't have to dig through the layer panel for small changes. Select a frame and ask:
- "Tighten the spacing in this section."
- "Make the cards stack vertically on mobile width."
- "Align the hero text to the left and reduce padding to 40."
Claude rewrites the selected layers in place, and each change can be undone in one step.
When to build by hand
For complex, highly custom compositions such as editorial layouts with overlapping images, absolute positioning is sometimes the right choice. Let Claude produce the auto layout skeleton, then break out the few elements that need free placement.
Frequently asked questions
Does Claude create real auto layout in Figma?
With Claude Design for Figma, generated screens arrive as nested auto layout frames with gaps, padding and sizing you can edit in Figma's right panel.
Can I tell it exact spacing values?
Yes. Include gaps, padding and sizing in your prompt, or ask it to use your spacing variables.
Can it fix a frame I already made?
Select the frame and describe the change, for example tightening spacing or switching a row to a vertical stack.
Claude Design for Figma
Describe a UI and get real, editable Figma layers — the plugin runs locally in your file. 3,000,000 tokens/month, save 51% yearly.
Get the plugin →