Menu

The sidebar navigation menu. Groups resources by options.group; compose your own with the Menu.* parts.

Installation

pnpm dlx shadcn@latest add @chelone/menu

The sidebar navigation menu. Groups resources by options.group; compose your own with the Menu.* parts.

Props

PropTypeDefaultDescription
childrenReactNode—When provided, replaces the default resource-list rendering. Use `<Menu.Item>`, `<Menu.DashboardItem>` and `<Menu.ResourceItem>` as children.
classNamestring—Extra CSS class appended to the wrapping `<SidebarMenu>`.