Grids and layouts

All you need to know about how to set up grids in Penpot.

Grids are design aids that can help you to align content easily to a geometric structure. At Penpot there are three types of grids: square, columns and rows.

Note: grids can only be visible at the viewport and will never be shown on exports.

Creating layout grids

Grids can only be created at artboards level. To create a grid you need to select an artboard first. At the Design panel there is a section for "Grids & Layouts", click at the "+" button to add a grid to the arboard. You can add as many grids as you want.

grids

Hide and remove grids

You can hide an specific grid by clicking at the eye button of a grid configuration. If you want to remove a grid, use the "-" button at the right side of the grid pill.

grids

Square grids

grids

Options for square or rectangular grids are:

  • Size (pixels).
  • Color.
  • Opacity.

Row layouts

grids

Options for row layouts are:

  • Rows.
  • Type: stretch, top, center bottom
  • Height: "auto" by default.
  • Gutter: the space between each row.
  • Margin.
  • Color.
  • Opacity.

Column layouts

grids

Options for column layouts are:

  • Columns.
  • Type: stretch, top, center bottom.
  • Width: "auto" by default.
  • Gutter: the space between each row.
  • Margin.
  • Color.
  • Opacity.

Grid defaults

There are default settings at file level. You can easly change the settings of a grid to the default ones and you can also set a grid to be the default one just by using the buttons at the bottom of the advanced options menu.

grids

Snap to grid and visibility

If you want to hide/show all the grids at a file you can press Ctrl/⌘ + ´ or use the option at the main menu at the top left of the navbar.

If you want to enable/disable the snapping to grids you can press Shift/⇧ + Ctrl/⌘ + ´ or use the option at the main menu at the top left of the navbar.

grids