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.json

Props

PropTypeDefaultDescription
itemsSidebarItem[][]Array of items to display in the sidebar. Each item requires an id, name, and optional onClick handler.
titlestring"All Components"The title displayed at the top of the sidebar menu.
classNamestringundefinedOptional custom CSS classes to apply to the sidebar container.