Overlays

Drawer

A sheet you drag, dismissed with a flick.

npx shadcn-svelte@latest add http://localhost:5173/r/drawer.json

Bottom

Drag it: it follows the finger 1:1, rubber-bands upward, and dismisses on a quick flick even if it hasn't moved far. Best on touch screens.

light
dark

Directions

Side and top drawers drag the same way; the grabber sits on the edge that faces the way it closes.

light
dark