spacing-system

Define a scalable UI spacing system with base units and named scales.

38|5|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/launchapp-dev/animus-cli --skill spacing-system-launchapp-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spacing-system
Source: https://github.com/launchapp-dev/animus-cli/tree/main/.claude/skills/spacing-system
Command: npx skills add https://github.com/launchapp-dev/animus-cli --skill spacing-system-launchapp-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spacing inconsistencies across interfaces lead to visual clutter and cognitive load; this Skill provides a scalable system to standardize spacing.

Core Features & Use Cases

  • Base unit and scale: define a base unit (4px or 8px) and a stepped scale (2xs, xs, sm, md, lg, xl, 2xl, 3xl).
  • Spacing types: Inset, Stack, Inline, and Grid gap to apply consistently.
  • Density modes: Compact, Comfortable, and Spacious for different tasks and viewing contexts.
  • Best practices: document intent and ensure spacing aligns with breakpoints and component structure.

Quick Start

Define a base spacing unit (4px or 8px) and apply the scale across components to establish a cohesive rhythm.

Frequently Asked Questions about spacing-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a consistent UI spacing system for responsive layouts?

Create a consistent UI spacing system by defining a base unit of 4px or 8px and applying a stepped scale across components, layouts, and responsive breakpoints to ensure uniform visual rhythm and density.

What is the best way to standardize spacing across UI components?

The best way to standardize UI spacing is to define a named scale ranging from 2xs to 3xl and apply specific spacing types like Inset, Stack, Inline, and Grid gap consistently across your interface components.

How do I handle spacing density for different viewing contexts?

Handle spacing density by applying Compact, Comfortable, or Spacious density modes to your spacing system, allowing you to adapt the visual rhythm for different tasks and viewing contexts.

Why does inconsistent spacing cause visual clutter in UI design?

Inconsistent spacing causes visual clutter and cognitive load because it lacks a standardized rhythm. Establishing a scalable spacing system with a defined base unit and scale standardizes spacing to resolve this.

Can I use a 4px base unit instead of 8px for my spacing scale?

Yes, you can use a 4px base unit instead of an 8px base unit. The spacing system is scalable and allows you to define either a 4px or 8px base unit to establish your preferred cohesive rhythm.

What spacing types should I use for layout grids and inline elements?

Use Inset, Stack, Inline, and Grid gap spacing types for layout grids and inline elements. Document the intent behind these spacing choices to ensure they align with your breakpoints and component structure.