Component packs › Threshold › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
snap | 0 | 1 | 2 | Starting snap: 0 peek, 1 half, 2 full. | |
onSnap | (snap: number) => void | ||
theme | "light" | "dark" | ||
autoplay | number | false | Showcase mode: moves between heights every N ms while visible. |
readonly snap: numbersetSnap(snap: 0 | 1 | 2): voiddestroy(): voidimport SnapSheet from './SnapSheet';
<SnapSheet />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Dialogs and drawers.