ELFBAR

Spacing & Radius

Three-tier spacing system and border radius scale

The spacing system is organized in three tiers: Element (within components), Component (component-level), and Module (layout-level). The radius scale provides 8 levels from none to full.

Element (ele) — 元素内部间距

用于图标与文字、徽标内边距等细粒度场景

Component (comp) — 组件级间距

用于按钮 padding、表单项间距等组件内部布局

Module (mod) — 模块/布局级间距

用于卡片间距、页面 section 间距、容器 padding