# Snap Sheet

> A draggable bottom sheet with three resting heights ("peek," "half," "full") instead of the usual open-or-closed toggle. Drag past the edges and it rubber-bands instead of stopping dead, and on release it reads both the drop position and the flick velocity to decide where to settle, a fast downward flick dismisses it even from "full," a fast upward flick jumps straight to "full" regardless of where the drag ended. The backdrop fades with the sheet instead of switching on and off at a fixed point.

- Author: [Holo](https://21st.dev/@vovalopuh13)
- License: mit
- Tags: Drawer, Mobile, Gesture, Bottom Sheet
- npm dependencies: framer-motion
- Live preview: https://21st.dev/@vovalopuh13/components/snap-sheet

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/vovalopuh13/snap-sheet?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/drawer.md
