Monarch

Spacing

An 8px base grid system for consistent, harmonious layouts.

Spacing Scale

Monarch uses an 8px base unit. All spacing values are multiples or fractions of 8px, creating rhythm and consistency across every component.

Spacing Values
space-0.5
2px / 0.125rem
space-1
4px / 0.25rem
space-1.5
6px / 0.375rem
space-2
8px / 0.5rem
space-3
12px / 0.75rem
space-4
16px / 1rem
space-5
20px / 1.25rem
space-6
24px / 1.5rem
space-8
32px / 2rem
space-10
40px / 2.5rem
space-12
48px / 3rem
space-16
64px / 4rem
space-20
80px / 5rem
space-24
96px / 6rem

Border Radius

Rounded corners at consistent scales — from subtle rounding to full pills.

Radius Values
sm 4px
md 8px
lg 12px
xl 16px
2xl 24px
full 9999px

Usage Guidelines

• Use space-2 (8px) as the base padding for tight elements like badges and inline items

• Use space-4 (16px) for standard component padding — inputs, small cards

• Use space-6 (24px) for card padding and content area gutters

• Use space-8 (32px) or space-10 (40px) for section spacing within a page

• Use space-16+ (64px+) for major section breaks between content blocks

radius-lg (12px) is the default for cards and containers

radius-md (8px) for buttons, inputs, and smaller elements

radius-full for avatars, pills, and badges