Density Modes

Use data-layout-density on any container to swap the spacing scale for everything inside it. The three panels below use identical markup.

Compact

Tighter spacing for dashboards, data tables, and admin UIs.

Admin Panel

  • NameRoleStatus
    AliceAdminActive
    BobEditorActive
    CarolViewerInactive

    Default

    The standard scale; no attribute needed.

    Settings Page

  • NameRoleStatus
    AliceAdminActive
    BobEditorActive
    CarolViewerInactive

    Spacious

    Generous spacing for marketing pages and landing pages.

    Welcome

    Experience our platform with a generous, breathable layout that puts content first.