About
A compact workspace sidebar with grouped navigation, active links, Keyline icons, and organization settings. A Studio Blocks block (arhamkhnz/studio-blocks, MIT) built on base-ui shadcn primitives.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Workspace Sidebar to your project and fits it to your theme.
Code
How Workspace Sidebar is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { useState } from "react"
import { AppSidebar, SidebarProvider, SidebarTrigger } from "@/components/ui/studioblocks-sidebar-01"
export default function Example() {
const [activePath, setActivePath] = useState("/dashboard");
return (
<SidebarProvider className="relative mx-auto h-180 min-h-0 w-fit max-w-full overflow-hidden rounded-xl border contain-[layout_paint]">
<AppSidebar activePath={activePath} onNavigate={setActivePath} />
<SidebarTrigger className="m-2 md:hidden" />
</SidebarProvider>
);
}
















