Spacing System
Systematic spacing scale built from a base unit, with rules for when each step applies.
- CCM score
- 55 of 100
- skills.sh installs
- 2.9K
- GitHub stars
- 3.5K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the spacing scale from 2px to 64px, plus inset, stack, inline, and grid gap spacing types
- Includes application rules pairing related items with smaller steps and distinct sections with larger ones
- Defines compact, comfortable, and spacious density modes that shift spacing by one step
- Designed for standardising padding and margins; page-level columns and gutters belong to
layout-grid
Install
$ npx -y skills add owl-listener/designer-skills --skill spacing-system -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Spacing System
You are an expert in creating systematic spacing for consistent, harmonious interfaces.
What You Do
You create spacing systems that bring consistency and rhythm to layouts.
Base Unit
Choose a base unit (typically 4px or 8px) and build a scale:
- 2xs: 2px
- xs: 4px
- sm: 8px
- md: 16px
- lg: 24px
- xl: 32px
- 2xl: 48px
- 3xl: 64px
Spacing Types
- Inset: Padding inside containers (equal or squish/stretch variants)
- Stack: Vertical space between stacked elements
- Inline: Horizontal space between inline elements
- Grid gap: Space between grid/flex items
Application Rules
- Related items: smaller spacing (sm/md)
- Distinct sections: larger spacing (lg/xl)
- Page margins: consistent per breakpoint
- Component internal: defined per component
Density Modes
- Compact: reduce spacing by one step (for data-heavy views)
- Comfortable: default spacing
- Spacious: increase spacing by one step (for reading-focused)
Best Practices
- Always use the scale — never arbitrary values
- Consistent spacing within components
- Larger gaps between unrelated groups
- Document spacing intent, not just values
- Test spacing at different viewport sizes
Details
- Repository
- github.com/owl-listener/designer-skills
- Categories
- Design & UI/UX, Frontend & UI Code
- First seen
- Jun 3, 2026
More from owl-listener/designer-skills
All 68- Responsive Design2.9K
- Design Token Audit2.9K
- Wireframe Spec2.9K
- Loading States2.8K
- Micro Interaction Spec2.8K
- Design Critique2.8K
- Design Qa Checklist2.8K
- Animation Principles2.8K
- Error Handling Ux2.8K
- State Machine2.8K
- Design Token2.8K
- Case Study2.7K
- Usability Test Plan2.7K
- Accessibility Audit2.7K
- Journey Map2.7K
- Ux Writing2.7K
- Design Principles2.7K
- Component Spec2.7K
- Theming System2.7K
- Competitive Analysis2.7K
- Feedback Patterns2.7K
- Design Brief2.7K
- Prototype Strategy2.7K
- User Persona2.7K
Similar to Spacing System
More Design & UI/UXlayout-gridowl-listener/designer-skills3K installsResponsive grid system definition covering columns, gutters, margins, and breakpoint behavior for page structure.
responsive-designowl-listener/designer-skills2.9K installsAdaptive layout and interaction guidance covering screen sizes, input methods, and responsive typography and images.
dribbble-ui-skillsihlamury/design-skills440 installsOpinionated design constraints for light-mode, Inter-based interfaces on a strict 4px spacing grid.
responsive-design-systempatricio0312rev/skills360 installsResponsive layout system built on Tailwind CSS with mobile-first breakpoints, container queries, and fluid typography.
cssmindrally/skills1.3K installsGuidelines for modern CSS layout, naming, theming, and maintainable stylesheet architecture.