Sidebar 20 - Workspace favorites with reorderPro
A Notion-style workspace sidebar where favorites can be moved up and down or unpinned with hover buttons, above a list of pages to star.
About Sidebar 20
A Notion-style workspace sidebar where favorites can be moved up and down or unpinned with hover buttons, above a list of pages to star.
Sidebar 20 is a sidebar block for React and Tailwind CSS, included in Chocolate UI Pro. It ships as 130 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
- favorites
- reorder
- workspace
- pages
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add sidebar-20Dependencies installed automatically: lucide-react.
Uses: utils.
Usage
import Sidebar20 from "@/components/blocks/sidebar-20"
export default function Page() {
return <Sidebar20 />
}