Skip to main content
A collapsible group for organizing navigation items in the sidebar. Supports nested groups, clickable headers, and internationalization.

Import

Usage

Basic group

Clickable group header

When you specify a to prop, the group title becomes a clickable link:

Initially collapsed

Control the initial expanded state with defaultOpen:

Nested groups

You can nest SidebarGroup components for hierarchical navigation:

Props

LocalizedString
required
Group title. Supports internationalization via LocalizedString.
ReactNode
Group icon displayed next to the title.
string
When specified, the title becomes a clickable link to this URL.
boolean
default:"true"
Initial expanded state. Set to false to render the group collapsed by default.
ReactNode
required
Child items - typically SidebarItem, nested SidebarGroup, or SidebarSeparator components.

Internationalization

Group titles support localized strings using defineI18nLabels:
You can also pass a plain string:

Examples

Multi-level navigation

With access control

Combine with WithGuard to conditionally show groups based on permissions:

Internationalized navigation