How to use grid layout in Figma
Learn how to switch a Figma frame to grid layout, then set the gap between columns and rows so its content sits in an even grid on the canvas.

Quick answer
Select a frame in the Layers panel, then choose Grid under Flow in the Layout section of the right sidebar. Figma arranges the frame's content in rows and columns. Adjust the Gap between columns and Gap between rows fields to space items evenly, and check the result on the canvas.
Steps at a glance
- Select the frame in the Layers panel
- Choose Grid in the Layout section
- Set the gap between columns
- Set the gap between rows
- Check the grid on the canvas
Interactive demo
Summary
Grid layout makes a frame arrange its content in rows and columns instead of one line. It keeps cards, thumbnails, and tiles evenly spaced without placing each one by hand.
Step-by-step guide
Step 1
Select the frame
Click Frame 1 in the Layers panel. The right sidebar shows the frame's settings, including the Layout section.
Step 2
Choose the Grid layout
In the Layout section, find the Flow options and select Grid. The frame switches from a freeform layout to a grid.
Step 3
Set the gap between columns
Click the Gap between columns field in the Auto layout section, type 24, and press Enter. The columns move apart on the canvas.
Step 4
Set the gap between rows
Click the Gap between rows field, type 24, and press Enter. The rows now match the column spacing.
Step 5
Check the grid on the canvas
Click Frame 1 again and look at the canvas. The frame's content now sits in an even grid.
Why this matters
You are building a card gallery or pricing table and keep nudging items into place by hand. Grid layout lays them out in rows and columns for you, so spacing stays even when you change the gap values.
Frequently asked questions
Does grid layout work on the free plan?
Yes. The Grid option and the gap fields were available on a free plan in this capture.
Can I set different gaps for columns and rows?
Yes. Gap between columns and Gap between rows are separate fields, so each can have its own value.
Related guides
Continue with more step-by-step guides for getting work done.
How to use auto layout in FigmaLearn how to turn several layers into one auto layout frame in Figma, then change the gap and direction so the layers stay evenly spaced as they change.
How to create a frame in FigmaLearn how to create a frame in Figma: pick the Frame tool, draw it on the canvas, and set its width in the Design panel on a free account.
How to align objects in FigmaLearn how to align objects in Figma: select several layers, then use the Alignment controls in the Design panel to line up tops and centers.
How to use interactive components in FigmaMake a Figma component respond to clicks: add an interaction to one variant, set On click, and use Change to to switch to another variant.
How to use a mask in FigmaLearn how to use a mask in Figma: select two overlapping shapes, choose Use as mask, and clip the top shape to the one below it in the Layers panel.
How to use the pen tool in FigmaLearn how to use the pen tool in Figma: pick Pen, click points on the canvas, close the path, and find the finished vector in the Layers panel.
Create interactive demos like this one — free, no coding required.
Start for free →