sidebar-02
A sidebar with collapsible sections. Composed from breadcrumb, collapsible, dropdown-menu, label.
Last updated
What it is
A sidebar with collapsible sections. It is a block: you pull it once with shadcn add, and then you own it —
nothing re-pulls it and no integrity hash tracks your edits, unlike the components it composes.
Install
npx shadcn@latest add @vegastack/sidebar-02Registry setup required
Run this command only after configuring the Base UI shadcn project, the
@vegastack registry namespace, and the Cloudflare Access service-token headers in Install from the VegaStack registry.This installs the block's own files plus the components it composes: breadcrumb, collapsible, dropdown-menu, label, separator, sidebar.
Preview
Files
| File | Registry type | Target |
|---|---|---|
sidebar-02/components/app-sidebar.tsx | registry:component | app/sidebar-02/components/app-sidebar.tsx |
sidebar-02/components/search-form.tsx | registry:component | app/sidebar-02/components/search-form.tsx |
sidebar-02/components/version-switcher.tsx | registry:component | app/sidebar-02/components/version-switcher.tsx |
sidebar-02/page.tsx | registry:page | app/sidebar-02/page.tsx |
Do / Don't
Do
Pull it once, then edit it freely — replace the sample data, the links and the copy with your own.
Don't
Treat it as an update-tracked component, or re-pull it and expect your edits to survive.