Sidebar Menu
A collapsible sidebar navigation menu with interactive hover states on its items.
Click the menu icon in the top left to open the sidebar.
Installation
1
Run the following Command
>_npx shadcn@latest add https://minimal-ui-eta.vercel.app/r/sidebar-menu.jsonProps
| Prop | Type | Default | Description |
|---|---|---|---|
| items | SidebarItem[] | [] | Array of items to display in the sidebar. Each item requires an id, name, and optional onClick handler. |
| title | string | "All Components" | The title displayed at the top of the sidebar menu. |
| className | string | undefined | Optional custom CSS classes to apply to the sidebar container. |