Sidebar

A dynamic component for smooth transitions between panels.

sidebar

Installation

Follow these simple steps to add the Sidebar component to your project:

Install Dependencies

pnpm add @radix-ui/react-slot 

Create a new file components/ui/sidebar.tsx and copy the code below:

Adjust the import paths in both files according to your project's structure.