create_grid_style
Create layout grid styles in Figma to standardize design spacing. Configure columns, rows, or pixel grids with custom gutters, margins, colors, and alignment properties.
Instructions
Create a new local layout grid style.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | No | Alignment: STRETCH (default), CENTER, MIN, or MAX (COLUMNS/ROWS only) | |
| color | No | Grid line color as hex e.g. #FF0000 (GRID only, default #FF0000) | |
| count | No | Number of columns or rows (COLUMNS/ROWS only, default 12) | |
| description | No | Optional style description | |
| gutterSize | No | Gutter size in pixels (COLUMNS/ROWS only, default 16) | |
| name | Yes | Style name e.g. 'Grid/Desktop' | |
| offset | No | Margin/offset in pixels (COLUMNS/ROWS only, default 0) | |
| opacity | No | Grid line opacity 0–1 (GRID only, default 0.1) | |
| pattern | No | Grid pattern: GRID (default), COLUMNS, or ROWS | |
| sectionSize | No | Grid cell size in pixels (GRID only, default 8) |