Skip to content

Sidebar

Collapsible application sidebar with mini variant.

Install with the CLI

Copy the block into your project to own and change the code.

bunx @xerobi/ui-cli init
bunx @xerobi/ui-cli add sidebar

Import from the package

Or use it as shipped, without copying.

import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup } from "@xerobi/ui/sidebar"

Files

  • sidebar/index.ts
  • sidebar/sidebar.tsx

Components used

Search documentation

Search pages, components and blocks.