Sidebar 5 - Nested submenus with tree linesPro

Multi-level navigation where nested items hang off hairline tree connectors and each branch toggles open independently.

About Sidebar 5

Multi-level navigation where nested items hang off hairline tree connectors and each branch toggles open independently.

Sidebar 5 is a sidebar block for React and Tailwind CSS, included in Chocolate UI Pro. It ships as 125 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • sidebar
  • tree
  • nested
  • submenu
  • navigation

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add sidebar-05

Dependencies installed automatically: lucide-react.

Uses: utils.

Usage

import Sidebar05 from "@/components/blocks/sidebar-05"

export default function Page() {
  return <Sidebar05 />
}

FAQ