- Docs
- Components
- Console frame
Sidebar
A console's navigation: links only, in groups, one level of nesting, every item in the Tab order.
- Import
- @qeetrix/react/experimental
- Status
- ExperimentalSince 0.0.4
- Renders
<nav>Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
02
Categories
One level of nesting: an item with children is a category. It opens when it holds the current page; closed, it carries the current mark.
<SidebarItem label="Connections" icon={PlugIcon}>
<SidebarItem label="Passkeys" href="/connections/passkeys" />
<SidebarItem label="Enterprise SSO" href="/connections/sso" current />
</SidebarItem>03
A title and a filter
title heads the area; filter adds "Filter navigation", which narrows the items as you type.
<Sidebar label="Qeet ID" title="Identity" filter>…</Sidebar>04
The rail
In an AppShell, collapsed: 48px of icons, the labels as tooltips. It opens while hovered or focused.
<AppShell defaultSidebarCollapsed sidebar={<Sidebar label="Qeet ID">…</Sidebar>} … />05
In Hindi
lang drops the group labels' tracking, which would loosen Devanagari; the filter's strings come from the provider.
<QeetrixProvider locale="hi-IN" messages={hi}>
<div lang="hi">
<Sidebar label="Qeet ID" title="पहचान" filter>…</Sidebar>
</div>
</QeetrixProvider>