Arham Khan

Workspace Sidebar

Dashboards

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>
  );
}

Dependencies

More by Arham Khan

View all
  • Radial Menu

    Radial Menu

    537
  • Radial Intro

    Radial Intro

    281
  • Playful Todolist

    Playful Todolist

    176
  • Spring Element

    Spring Element

    138
  • Recent Invoices

    Recent Invoices

  • Developer Workspace Sidebar

    Developer Workspace Sidebar

  • Upcoming Renewals

    Upcoming Renewals

  • Active Contracts

    Active Contracts

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    783
  • Analytics Dashboard

    Analytics Dashboard

    96
  • Creator Dashboard

    Creator Dashboard

    224
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    527
  • Insights Dashboard

    Insights Dashboard

    51
  • serf dashboard

    serf dashboard

    147
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    76