Inbox sidebar
The folders, labels and counts of an inbox.
When to use
- Navigation for a mail-like app.
When not to use
- There are no groups.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/inbox-sidebar
Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
InboxSidebar
6 props
PropTypeDefault
folders *readonly InboxFolder[]—
labelsreadonly InboxLabel[][]
activeId *string—
onSelect *(id: string) => void—
onCompose *() => void—
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-current, aria-label, aria-hidden and aria-expanded in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/inbox-sidebar.mdThe index of every part is at /llms.txt.