Sidebar
The app’s main navigation: the wordmark on top, one item per section, workspace items below, and a footer with setup, theme and sign out.
When to use
Section titled “When to use”- On every signed-in page. Marketing pages use a top nav instead.
What the consumer provides
Section titled “What the consumer provides”- Items:
{ label, icon, href, badge? }. The order is fixed: Home, Chat, Tasks, Automations, Agents, Knowledge, Usage. Then comes a “Workspace”overlinegroup with Settings. - Notifications are not a sidebar item. They live in the bell in the top bar of the app shell (see Patterns).
aria-current="page"on the current item. Badges are counts (theBadgecount variant), never dots.- The footer holds a setup progress ring with “Setup 3 of 4”, the theme switch, Sign out, and the version in
code-sm.
Behaviour
Section titled “Behaviour”- From
bp-mdit is the fullsidebar(248px) onsurface-200. Betweenbp-smandbp-mdit is a 56px icon rail with tooltips. Belowbp-smit is a drawer that opens from the top bar. The Responsive section is the reference. - Items are 40px high with
radius-md. Hover showssurface-hover. The current item issurface-selected, withemerald-deeptext and icon at weight 600. - The sidebar remembers if the user collapsed it. With the keyboard, Tab moves through the items. On focus, the rail shows each label in a
Tooltip.
Tokens
Section titled “Tokens”surface-200, surface-hover, surface-selected, emerald-deep, emerald, ink, ink-muted, radius-md, radius-lg, sidebar, control-md.
Mantine
Section titled “Mantine”AppShell with navbar={{ width: { sm: 56, md: 248 }, breakpoint: 'sm', collapsed: { mobile: !opened } }}. This gives the rail at sm, the full width at md and a drawer below sm. Items are NavLink with active, leftSection and rightSection.