Sheet Drawer
- from @alexandrejoly
A responsive Sheet: a side Sheet at desktop that becomes a swipeable Drawer below 768px, opening from the edge set with side. Drop-in replacement for the shadcn Sheet on Base UI or Radix: desktop props 1:1 on the root and every part, open state kept across the breakpoint, plus a drawer={{...}} override typed on your Drawer.
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 @alexandrejoly/sheet-drawerComponent source
No live preview has been built for this component yet.
Registry dependencies3
- sheet
- drawer
- use-mobile
Packages0
No npm packages are installed with it.
