examples/sidebar-collapsible.tsx
import {Sidebar,SidebarHeader,SidebarNav,SidebarSection,SidebarItem,SidebarFooter,SidebarToggle,} from "@/components/wensity/sidebar";import { IconLayoutDashboard, IconChartAreaLine, IconFolders, IconSettings } from "@tabler/icons-react";export function SidebarCollapsible() {return (<Sidebar variant="collapsible" width={220}><SidebarHeader><span className="text-sm font-semibold">Acme Inc</span><SidebarToggle className="ml-auto" /></SidebarHeader><SidebarNav><SidebarSection><SidebarItem icon={<IconLayoutDashboard className="size-[18px]" />} active>Dashboard</SidebarItem><SidebarItem icon={<IconChartAreaLine className="size-[18px]" />}>Analytics</SidebarItem><SidebarItem icon={<IconFolders className="size-[18px]" />}>Projects</SidebarItem><SidebarItem icon={<IconSettings className="size-[18px]" />}>Settings</SidebarItem></SidebarSection></SidebarNav><SidebarFooter><span className="text-xs text-muted-foreground">jordan@acme.com</span></SidebarFooter></Sidebar>);}



