Grid Variables
A pixel-perfect grid calculator and variable generator.
Plugin Preview
About this plugin
Generate layout grid variables and preview frames for responsive design systems.What it doesCalculates column widths from your grid parameters and creates Figma variables for viewport, columns, margins, gutters, and column spans. Optionally generates a preview frame with the grid bound to those variables.The plugin automatically rounds column widths to whole pixels and shows whether your grid parameters result in pixel-perfect dimensions.UsageRun the pluginConfigure grid parametersSave to variable collection - Creates/updates variables in a selected collectionIf saving variables, select a collection and enter a group nameAnd/or generate preview frame - Creates a frame showing the grid layoutClick GenerateOutputVariables (grouped by your chosen name):{group}/viewport - Total width{group}/columns - Column count{group}/margin - Side margins{group}/gutter - Gap between columns{group}/col-1 through col-{n} - Span widthsPreview frame:Named with the max width value (e.g., "1440"), with column layout and grid overlay bound to variables if generated together
Plugin Details
| Version | 4 |
|---|---|
| Created | September 9, 2025 |
| Last Updated | February 17, 2026 |
| Category | File organization plugins |
| Creator | marius |
| Stats | 6 installs, 1 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:index.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the File organization plugins category.