Skip to main content

Module spacing

Module spacing 

Source
Expand description

Spacing scale shared by every Hyprforge app, so a sidebar, a settings row, and a dialog all breathe the same amount no matter which app they’re in (vision pillar #2: one shared visual grammar).

Constants§

LG
Between distinct sections of a screen.
MD
The default gap between rows and between a card’s edge and its content — reach for this one unless a specific case argues otherwise.
SM
Between closely related elements within one row or group.
XL
Between top-level regions — sidebar and content, page margins.
XS
Tightest gap: between a label and the control right beside it.