generate_grid
Create a grid of cloned items or rectangles inside a parent Figma node, with custom rows, columns, spacing, and naming.
Instructions
Generate a grid of items inside a parent. Clones itemNodeId if given, otherwise creates rectangles of itemWidth x itemHeight. Use {i} in name for the running index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| rows | No | ||
| columns | No | ||
| spacingX | No | ||
| spacingY | No | ||
| itemWidth | No | ||
| itemHeight | No | ||
| itemNodeId | No | ||
| parentNodeId | No |