🛠️Figma Auto Layout
Also known as Auto Layout, Auto Layout (Figma)
A Figma tool that lines things up in a row or a column. The box grows to fit.
Think of it like
It is like a row of books held by bookends. Add a book, and the others slide over to make room.
Example
Leo types a longer word into a button. With Auto Layout, the button grows wider and its padding stays the same.
Why it matters
Designs behave like real code, so they hold up when the text or data changes.
Definition
Example code
css
.button {
display: flex;
gap: 8px;
padding: 12px 16px;
}Common mistake
Key takeaways
- 1Row or column. With set gaps.
- 2Resizes to fit. Grows with content.
- 3Like flexbox. Easy to code.