prompt

Spacing System Builder

Builds a consistent spacing scale and rules for applying it across a UI.

VettedUpdated June 2026
The prompt
Build a spacing system for {{product}} based on a {{base_unit}} base unit. Provide the scale (the step values), names or tokens for each step, guidance on which steps to use for tight, default, and section spacing, and one rule for vertical rhythm. Keep it simple enough to remember.
Did it work? Rate this prompt

Variables

productProduct
base_unitBase unit

Example output

Spacing system on a 4px base. Scale: 4, 8, 12, 16, 24, 32, 48, 64. Tokens: space-1 (4) to space-8 (64). Use: 4-8 for tight spacing inside components (icon to label, input padding); 12-16 as the default gap between related elements; 24-32 between distinct groups; 48-64 between page sections. Vertical rhythm rule: stack spacing should always come from the scale — never a one-off value like 13 or 27. This keeps every screen visually consistent and easy to hand off.

Details

Author

AI Khazna

License

—

Security

Vetted

Type

prompt

Frequently asked questions

What is the Spacing System Builder prompt?

Builds a consistent spacing scale and rules for applying it across a UI.

Is Spacing System Builder free?

Yes, it is free to use.

Related assets

More curated picks in Design & Creative.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Design & Creative