Context Drawer Sidebar
Slim rail ↔ wide frosted context drawer with animated width and pin toggle.
Try it: Hover rail to widen; pin to keep context open.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/context-drawer-sidebar.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/context-drawer-sidebar. You can also copy the source into components/ui/context-drawer-sidebar.tsx (view on GitHub).
Usage
import { ContextDrawerSidebar } from '@/components/ui/context-drawer-sidebar'Dependencies
motion
Related Sidebars components
- Command Tree Sidebar
Hierarchical tree with ↑↓/Enter, typeahead highlight, morphing path breadcrumb.
- Section Accordion Sidebar
Nested sections accordion-open with spring height; sticky workspace header + search.
- Glass Workspace Sidebar
Frosted glass pro sidebar with workspace switcher, collapsible groups, notification pip, user footer.
- Rail Bloom Sidebar
Collapsible icon rail that blooms labels and soft glow; liquid active indicator.
- Timeline Rail Sidebar
Vertical ops/CPaaS timeline rail — events as nodes, active glow, scroll-sync scrubber.
- Orbit Switcher Sidebar
Multi-product switcher orb that morphs between Messaging / Voice / SMS with animated icon swap.