scrollsheet vs vaul
vaul is the most installed React drawer. Its README says the repo is unmaintained. scrollsheet's Drawer takes common vaul props, so many apps switch by changing two imports. Here is what stays the same, what differs, and what you lose.
Side by side
| Dimension | scrollsheet | vaul |
|---|---|---|
| Maintenance1 | Releases continue; 1.3.0 shipped on 5 Nov 2026 | Version 1.1.2, published Dec 2024. The README says the repo is unmaintained and the author may not return to it soon |
| Touch dragging2 | The browser scrolls a CSS scroll-snap container | Pointer handlers write a translate3d transform to the drawer on every move |
| Runtime dependencies | 0 | 1 direct (@radix-ui/react-dialog), which brings its own dependency tree |
| JavaScript, compressed3 | 15.29 kB (Drawer import) | 19.82 kB (Drawer import, Radix Dialog bundled) |
| Snap points | detents; the Drawer adapter maps snapPoints | snapPoints, fadeFromIndex, snapToSequentialPoint |
| Edges | Four, plus a centered dialog | Four (direction) |
| Modal behavior | Native <dialog> showModal() in the top layer | Radix Dialog: portal, focus scope, and scroll lock in JavaScript |
| React versions | 18+ | 16.8 and up |
| Unsupported vaul options4 | Portal container, scroll lock, keyboard strategy, and fixed are accepted and ignored, with a development warning | Supported |
| npm downloads, last week5 | 241 | 31,128,850 |
- vaul README and npm registry, checked 4 Nov 2026. The note was added in the commit "Explain maintenance" (3 Oct 2025).
- vaul
src/index.tsx,onDrag. scrollsheet: README, “How sheets work”. Desktop mouse drag in scrollsheet does use pointer handlers. - Both bundled with Bun, minified, React external, lazy chunks excluded, using the options in
scripts/lib/bundle-measure.ts. vaul 1.1.2 measured 5 Nov 2026. CSS not included for either. Both figures are brotli; many libraries quote gzip, which runs larger. - From the migration guide.
- npm downloads API, 28 Oct to 3 Nov 2026.
The switch
Change the import and the stylesheet. Your Drawer.Root, Trigger, Content, Title and Close JSX stays as it is.
import { Drawer } from "vaul";
import "vaul/style.css";
import { Drawer } from "scrollsheet";
import "scrollsheet/styles.css";
A side drawer built on Sheet. Open it and click through the sections.
What differs
Drawer.Overlayrenders nothing. The backdrop is automatic, so overlay CSS needs a new target.- Portal container, scroll-lock, keyboard-strategy and
fixedoptions are ignored, with a warning in development. - Side drawers take their width from the snap point. A
widthin your own CSS loses. - Markup and class names differ. The
data-vaul-*attributes still land on Content and Handle. - The second argument of
onReleasereports the real open or closed outcome.
The migration guide has the full prop table.
Choose vaul if
- You support React older than 18.
- You rely on its portal container,
fixedor scroll-lock options. - You must support browsers without
<dialog>or scroll-snap and need dragging there. - Your drawers work and you do not want to touch them. A library with no new releases can still be fine in production.
Choose scrollsheet if
- You want a dependency that still ships releases.
- You want touch dragging done by the browser, and no Radix Dialog underneath.
- You also need side panels, a centered dialog or toasts from the same package.
scrollsheet is new: its first npm release was in August 2026. vaul has years of production use behind it and scrollsheet does not.
Leaving vaul for something else
If you are moving your components to Base UI, its Drawer is maintained and covers snap points and swipe release. See scrollsheet vs Base UI. If Motion is already in your app, react-modal-sheetis the other option. scrollsheet fits best when you stay on the Radix side.
See it drag
Three detents. Drag the sheet or use the arrow keys on the handle.
Questions
Is vaul deprecated?
npm does not mark it deprecated. Its README says the repo is unmaintained and that the author might come back to it, but not in the near future. The latest release is 1.1.2 from December 2024. It still has about 31 million weekly downloads, so plenty of production apps run on it today.
Is switching really two lines?
For the common case, yes: the import and the stylesheet. The Drawer adapter maps snapPoints, direction, modal, shouldScaleBackground, handleOnly and more. Then read the differences: ignored options, side-drawer width, and styling hooks. Test your own drawers before you remove vaul.
I use the shadcn/ui Drawer. Can I switch?
shadcn/ui's Radix flavour drawer.tsx imports Drawer from vaul (checked in the shadcn/ui repository on 4 Nov 2026). Because the file lives in your repo, the import is yours to change, and the same adapter notes apply. Its Base UI flavour moved to Base UI's Drawer on 2 Jul 2026, so check which flavour you installed. See scrollsheet vs Base UI.
Which browsers does scrollsheet need that vaul does not?
Touch dragging needs CSS scroll-snap (Chrome 69, Safari 11, Firefox 68) and modal sheets use <dialog> (Safari 15.4, Firefox 98). Browsers without <dialog> get a fixed-position fallback with no dragging. If you support those browsers, test that fallback or stay on vaul. See browser support.
Try it in your app
bun add scrollsheet