Component packs › Threshold › Snap Bottom Sheet

Snap Bottom Sheet

A sheet that rests at peek, half and full, follows the finger, rubber-bands at the ends and projects your flick to pick a height.

Snap Bottom Sheet is a sheet from Threshold, a component pack with 6 overlays: Dialogs, drawers and sheets that come out of where you tapped and go back into it. Price: $2 for the whole pack.

Built with: three snap points, velocity projection, rubber band.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Snap Bottom Sheet props

PropTypeDefaultDescription
snap0 | 1 | 2Starting snap: 0 peek, 1 half, 2 full.
onSnap(snap: number) => void
theme"light" | "dark"
autoplaynumber | falseShowcase mode: moves between heights every N ms while visible.

Methods on the ref

Use it in React

import SnapSheet from './SnapSheet';

<SnapSheet />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Threshold

Good for: Dialogs and drawers.