scrollsheet vs Base UI Drawer
Base UI is a maintained, unstyled component library, and shadcn/ui's Base UI flavour uses its Drawer. scrollsheet is a smaller, styled package that only does sheets, dialogs and toasts. Here is where each one wins.
Side by side
| Dimension | scrollsheet | Base UI Drawer |
|---|---|---|
| Maintenance1 | Releases continue; 1.3.0 shipped on 5 Nov 2026. The first npm release was in August 2026 | Version 1.9.0, MIT, from the MUI team. shadcn/ui moved its Base UI drawer onto it on 2 Jul 2026 |
| Scope | Sheets, drawers, dialogs, side panels and toasts | A library of unstyled components (Dialog, Menu, Popover, Select and more). Drawer is one of them |
| Relationship to Dialog2 | A dialog is one presentation of a sheet | Drawer extends Dialog with gestures, snap points and indent effects |
| Styling | Ships a 3.43 kB compressed stylesheet. Override with CSS properties or className | Unstyled. You write the CSS, including the transform that follows --drawer-swipe-movement-y |
| Touch dragging3 | The browser scrolls a CSS scroll-snap container | Touch and pointer handlers in DrawerViewport publish the movement as CSS variables |
| Snap points | detents: fractions, pixels, content, medium, full | snapPoints: fractions, pixels, px and rem strings. snapToSequentialPoints, controlled snapPoint |
| Edges | Four, plus a centered dialog | Four (swipeDirection) |
| Modal modes | modal true or false. Modal sheets use native showModal() | modal true, false or 'trap-focus' (focus trap without page scroll lock) |
| Software keyboard | Automatic, from visualViewport | Opt in with Drawer.VirtualKeyboardProvider |
| Direct dependencies | 0 | 5, including @floating-ui/react-dom |
| JavaScript, compressed4 | 14.44 kB (Sheet import) | 21.96 kB for seven parts (Root, Trigger, Portal, Backdrop, Popup, Title, Close). 28.66 kB with all ten Drawer parts |
| React versions | 18+ | 17 and up |
| npm downloads, last week5 | 241 | 27,113,868 |
- npm registry, checked 4 Nov 2026. shadcn/ui pull request 10430, “migrate base drawer to @base-ui/react/drawer”.
- Base UI Drawer docs, “Usage guidelines”.
- @base-ui/react 1.9.0 package source. scrollsheet: README, “How sheets work”. Desktop mouse drag in scrollsheet uses pointer handlers.
- Bundled with Bun, minified, React external, using the options in
scripts/lib/bundle-measure.ts. @base-ui/react 1.9.0, measured 5 Nov 2026. CSS is not included for either. Both figures are brotli; many libraries quote gzip, which runs larger. - npm downloads API for the whole @base-ui/react package, 28 Oct to 3 Nov 2026. It covers every Base UI component, not only Drawer.
Leaving vaul: two destinations
vaul's README says the repo is unmaintained. Two maintained options are worth a look. Base UI's Drawer is the match if your app is moving to Base UI. scrollsheet is the match if you stay on the Radix side: its Drawer accepts common vaul props, so the import and the stylesheet change.
See scrollsheet vs vaul for the import swap and what Drawer does not support.
Try the detents
Three detents. Drag the sheet or use the arrow keys on the handle.
Choose Base UI if
- You already use Base UI, or shadcn/ui's Base UI flavour, and want one library for dialogs, menus and drawers.
- You want an unstyled drawer and full control of the markup and the animation.
- You need
remsnap points, a controlled snap point, or the'trap-focus'modal mode. - You support React 17.
- You want the larger user base behind the package.
Choose scrollsheet if
- You are coming from vaul and staying on Radix, and want the smallest change.
- You want default styles and a software-keyboard fix without wiring a provider.
- You want fewer dependencies and a smaller bundle for sheets, plus toasts from the same package.
- You want touch dragging to be the browser's scrolling.
scrollsheet is new, and it only covers sheets, dialogs and toasts. If you need menus, popovers or selects from the same family, Base UI covers those and scrollsheet does not.
Questions
Did shadcn/ui drop vaul?
Partly. Its Base UI flavour moved to @base-ui/react/drawer on 2 Jul 2026. The Radix flavour and the new-york-v4 style still import Drawer from vaul (checked in the shadcn/ui repository on 4 Nov 2026). Which one your app has depends on the base you chose when you set shadcn/ui up.
I am leaving vaul. Base UI or scrollsheet?
If the rest of your app is on Radix, scrollsheet's Drawer accepts common vaul props, so the import and the stylesheet change and you then check the differences. If you are moving your components to Base UI anyway, use its Drawer: the parts differ from vaul (Drawer.Popup, swipeDirection), so plan to touch each drawer's markup.
Is Base UI's Drawer styled?
No. Its docs call it an unstyled drawer with swipe-to-dismiss gestures. You write the layout, the backdrop and the transform that follows the swipe variables. scrollsheet ships default styles you override.
Try it in your app
bun add scrollsheet