Sidebar 8 - File tree explorerPro

An editor-style explorer with recursive folders that expand and collapse, a changes list on top and the selected file shown in the main area.

About Sidebar 8

An editor-style explorer with recursive folders that expand and collapse, a changes list on top and the selected file shown in the main area.

Sidebar 8 is a pro sidebar block for React, built on shadcn/ui and Tailwind CSS. It ships as 147 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
  • file-tree
  • explorer
  • folders
  • editor

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/sidebar-08

Dependencies installed automatically: lucide-react.

Uses: utils.

Usage

import Sidebar08 from "@/components/blocks/sidebar-08"

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

FAQ