Guides and layout grids
This page shows you how to add guides and layout grids to a frame, and how to show or hide them.
Any frame can have them. This includes a screen, a section and a frame inside them.
How to add a guide
- Select a frame.
- In the panel, open Guides and grids.
- Next to Guides, click + (Add a vertical guide).
- Or drag from a ruler onto the frame. Press Shift+R to show rulers.
How to change a guide
- Use the direction switch to make it vertical or horizontal.
- Type its position. The number counts from the frame's left edge (vertical) or top edge (horizontal).
- Or drag the guide on the canvas.
To remove a guide, click Remove guide. You can also drag it out of its frame.
How to add a layout grid
- Select a frame.
- Next to Layout grids, click + (Add a layout grid).
- Pick Columns, Rows or Grid.
- For Grid, set Size. For columns and rows, set Count and Gutter.
- Set Type to Stretch, or to a fixed width at the Left, Center or Right. (Rows use Top, Center or Bottom.)
- Set the margin and the Colour.
In the Figma panel layout, click the Layout grid settings button of the grid first to see these fields.
The panel warns you when the columns or rows do not fit.
To hide one grid, click Hide layout grid. To remove it, click Remove layout grid.
How to show or hide guides and grids
- Layout grids: press Ctrl+G on a Mac. Press Ctrl+Shift+4 on Windows.
- Guides, grids and rulers: right-click the canvas, open Settings, and use Show layout grids, Show guides and Show rulers.
- Rulers: press Shift+R.
How snapping works with them
Layers snap to guides and to grid columns, rows and lines. Hold ⌘ (Ctrl on Windows) while you drag to turn snapping off for that move.
Guides and grids move with the canvas when you pan. They move with their frame when you move it.