spacing-system

Define scalable spacing scales and contextual rules for UI layouts.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/ilanf23/trusted-deal-navigator --skill spacing-system-ilanf23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spacing-system
Source: https://github.com/ilanf23/trusted-deal-navigator/tree/main/.claude/skills/ui-design/skills/spacing-system
Command: npx skills add https://github.com/ilanf23/trusted-deal-navigator --skill spacing-system-ilanf23

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

It addresses the challenge of designing cohesive and balanced spacing within user interfaces, ensuring visual harmony and usability.

Core Features & Use Cases

  • Systematic Spacing Creation: Defines a scalable set of spacing values based on a base unit like 4px or 8px. For example, establishing a consistent margin or padding across a project.
  • Contextual Application Rules: Guides when and how to apply different spacing types such as inset, stack, inline, and grid gaps to enhance layout clarity.
  • Use Case: A UI designer applies the spacing system within a dashboard to ensure equal spacing between widgets, consistent margins at different viewports, and appropriate separation of related components.

Quick Start

Use the spacing system to build a vertical stack of buttons with consistent gaps, adjusting for different density modes to suit user preferences.

Frequently Asked Questions about spacing-system

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

FAQPage Schema
What is a spacing system in UI design and why do I need it?

A UI spacing system establishes a scalable set of spacing values based on a base unit like 4px or 8px to create consistent layouts. You need it to ensure visual harmony, balance margins, and improve usability across different screens.

How do I create consistent component spacing for a responsive dashboard?

To create consistent component spacing, define a scalable spacing scale and apply contextual rules for insets, stacks, inline gaps, and grid gaps. This ensures equal spacing between widgets and consistent margins across different viewports.

Can I apply different density modes to my UI layout spacing?

Yes, you can apply different density modes to your UI layout spacing. The spacing system allows you to adjust density modes to suit user preferences, modifying the scalable spacing scale applied to vertical stacks, buttons, and other interface elements.

What is the best way to structure grid gaps and margins for visual harmony?

The best way to structure grid gaps and margins is by defining contextual application rules for your spacing scale. Applying specific spacing types like insets and inline gaps enhances layout clarity and produces coherent, balanced interface designs.

Do I need a specific framework to implement a scalable spacing scale?

No specific framework is required to implement a scalable spacing scale. The system provides references and assets to establish spatial layouts and rhythm independently, allowing you to define base units and contextual rules for any UI design scenario.