0
100
200
300
400
500
600
700
800
900
1000
1100
0
100
200
300
400
500
600
700
800
900
1000
1100
Guide · Auto layout & frames

Why Is Figma Auto Layout Wrap Not Working?

Figma auto layout wrap usually fails for one of two reasons: the frame isn't set to Horizontal flow (wrap only exists there), or a child is set to Fill container. A Fill child stretches to take the rest of the row, so it never runs out of room and never drops to the next line. Give it a min width and it will wrap.

If neither applies, look at the parent's width. Items only wrap when the row runs out of space.

Updated Sep 24, 20263 min read
On this page
01

How wrap works in auto layout

With wrap on, auto layout pushes any child that doesn't fit onto the next line. Once it's on, you get two gap fields: one between items in a row and one between rows. Wrap is part of the Horizontal flow only. Vertical flow doesn't offer it, and the Grid flow places items in fixed cells and doesn't wrap at all.

02

Fix 1: switch the frame to Horizontal

Select the auto layout frame and pick the Horizontal direction in the right sidebar, then turn on wrap. If you were using Grid, decide which you need: Grid gives you rows and columns with spans, wrap gives you a row that reflows as it fills. See auto layout grid for the Grid flow.

03

Fix 2: give Fill container children a min width

This is the fix from the Figma forum thread on the wrap feature. A child set to Fill container grows or shrinks to fill whatever space is left in the row. Because it can always shrink, the row never overflows, and nothing wraps. Open the child's Width dropdown, choose Add min width, and type the smallest size it should reach. When the row can't fit that width any more, the child moves to the next line.

This is the usual setup for responsive card grids: every card on Fill container with a min width, and the parent on wrap.

04

Fix 3: check the parent's width

Wrapping happens when items run out of room in the parent's width. If the parent is set to Hug contents, it can grow to fit every child in one row, so nothing ever overflows. Setting the parent to a fixed width, or to Fill container inside its own parent, gives the row a limit to wrap against. Figma's help center doesn't spell this rule out, so treat it as a tip and test it on your frame. The sizing modes are explained in Fill container vs Hug contents.

New to auto layout? Start with how to use auto layout in Figma, then come back to wrap once direction, gap and padding make sense.
Ranked listThe best Figma plugins for renaming and cleaning up layers in 2026
FAQ

Frequently asked questions

How do I wrap items in Figma auto layout?

Select the auto layout frame, set the direction to Horizontal, and turn on wrap. You then get separate gaps between items and between rows.

Why don't my Fill container items wrap?

A Fill container child takes the rest of the row and shrinks as needed, so it never overflows. Add a min width from the child's Width dropdown and it will wrap once the row can't fit it.

Can I use wrap with vertical auto layout?

No. Wrap is only offered with the Horizontal flow. For a layout with fixed rows and columns, use the Grid flow instead, which doesn't wrap but lets items span cells.

Keep learning

More in Auto layout & frames

All guides in Auto layout & frames