About
A collapsible dashboard sidebar that shrinks to an icon-only rail, showing tooltips for each nav item and badge counts while expanded.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sidebar Icon Rail to your project and fits it to your theme.
Code
How Sidebar Icon Rail is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import CSidebar2 from "@/components/ui/c-sidebar-2";
export default function CSidebar2Demo() {
return (
<div className="h-screen w-full">
<CSidebar2 />
</div>
);
}
















