Vvcare/ui
Documentation menu

Components

Primitives

Sidebar

The app sidebar: collapsible, with groups, menus, badges and a mobile drawer.

Installation

npx shadcn@latest add @vcare/sidebar

Or install directly from the URL: https://ui.vcarehms.com/r/sidebar.json

Usage

import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent } from "@/components/ui/sidebar"

Exports

Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar

Dependencies

  • class-variance-authority@^0.7.1 (npm)
  • lucide-react@^1.80.0 (npm)
  • radix-ui@^1.8.1 (npm)
  • @vcare/button (registry)
  • @vcare/input (registry)
  • @vcare/separator (registry)
  • @vcare/sheet (registry)
  • @vcare/skeleton (registry)
  • @vcare/tooltip (registry)
  • @vcare/use-mobile (registry)
  • @vcare/utils (registry)

Raw item: /r/sidebar.json