Drawer
- from @keyline-ui
A sheet you swipe away, on Base UI Drawer as the reference: swipe with velocity, snap points, nested drawers, focus trap, Escape and the keyboard inset are the library's. Keyline: the page-facing edge at region weight, a grip on it, logical sides (end and start mirror in RTL), the system's motion timings.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @keyline-ui/drawerComponent source
No live preview has been built for this component yet.
Registry dependencies6
- @keyline-ui/keyline
- utils
- @keyline-ui/keyline-scope
- @keyline-ui/keyline-render
- @keyline-ui/keyline-motion
- @keyline-ui/dialog