scrollsheet vs react-modal-sheet

react-modal-sheet is an active bottom sheet built on Motion. scrollsheet drags with the browser's own scrolling and has no dependencies. The right pick depends mostly on whether Motion is already in your app.

Side by side

Dimensionscrollsheetreact-modal-sheet
Touch dragging1The browser scrolls a CSS scroll-snap containerMotion drag gestures (dragElastic, dragMomentum set in sheet.tsx)
Dependencies0 runtime, React as a peermotion as a peer (11 or newer), plus react-use-measure
JavaScript, compressed214.44 kB (Sheet import)52.65 kB with Motion bundled. 7.88 kB if your app already ships Motion
Modal semantics3Native <dialog> showModal(): focus containment and an inert page behind itNone built in. The README says it ships no accessibility properties and shows a React Aria recipe for focus trapping
API shapeSheet.Root, Trigger, Content, Handle, Title, CloseSheet with isOpen / onClose, plus Container, Header, Content, Backdrop
Snap pointsdetents: fractions, pixels, content, medium, fullsnapPoints array and snapTo(index); detent of default, content or full
EdgesFour edges, or a centered dialogBottom sheet (no edge option in the README props table)
Keyboard avoidanceReads visualViewport; sets --scrollsheet-keyboardavoidKeyboard, on by default, via Visual Viewport or Virtual Keyboard API
Page scale effectbackgroundEffect with data-scrollsheet-backgroundmodalEffectRootId
Custom animationonTravel and --scrollsheet-progressMotion values (y, snap index) exposed through a ref or context
React versions18+16 and up
npm downloads, last week4241199,793
  1. react-modal-sheet 5.6.0 source and README.
  2. Bundled with Bun, minified, React external, using the options in scripts/lib/bundle-measure.ts. react-modal-sheet 5.6.0 and motion 14.9.1, measured 5 Nov 2026. Both figures are brotli; many libraries quote gzip, which runs larger. How much of Motion an app already includes depends on which Motion features it uses, so the second figure is a floor.
  3. react-modal-sheet README, “Accessibility”. The source has no <dialog>, role or inert.
  4. npm downloads API, 28 Oct to 3 Nov 2026.

Try the detents

Both libraries snap between stops. In scrollsheet the stops are CSS scroll-snap points, and the handle is a slider you can move with the arrow keys.

Drag between 35%, 70% and full height, or focus the handle and press the arrow keys.

Choose react-modal-sheet if

  • Motion is already in your app, so its cost is about 7.9 kB compressed.
  • You want Motion values to drive your own animation as the sheet moves.
  • You support React older than 18.
  • You want to compose your own focus handling, for example with React Aria.
  • You want the larger user base: roughly 200 thousand weekly downloads, and releases as recent as March 2026.

Choose scrollsheet if

  • You do not use Motion and do not want to add it.
  • You want focus containment and an inert background without writing it.
  • You need side panels, a centered dialog or toasts from the same package.
  • You want touch dragging to be the browser's scrolling, not a gesture library's.

scrollsheet requires <dialog> and scroll-snap for dragging. See browser support for the fallback below those versions.

Beyond bottom sheets

A sheet opened from inside a sheet. The parent recedes and dims on its own.

Questions

I already use Motion. Does that change the choice?

Yes. react-modal-sheet adds about 7.9 kB compressed when Motion is already in your bundle, so the size gap mostly disappears. It also hands you Motion values to animate your own content against the sheet. scrollsheet exposes the same idea through onTravel and --scrollsheet-progress, and has a guide for using it with Motion.

Which one handles focus and screen readers?

scrollsheet modal sheets use showModal(), so the browser contains focus and makes the rest of the page inert. react-modal-sheet leaves that to you on purpose, and its README documents a React Aria setup. Neither choice is wrong. One is built in and the other is yours to compose.

How do I move from react-modal-sheet?

There is no adapter. Replace isOpen and onClose with open and onOpenChange on Sheet.Root, move your content into Sheet.Content, and map snapPoints to detents. See anatomy and detents.

Try it in your app

$bun add scrollsheet

Install guideLive examplesGitHub