N
ns-ui

Drawer Counterweight · ns-ui

Side drawer hung on a counterweight like a sash window: a thin track on the drawer's leading edge carries a weight pill that travels opposite the drag at -0.6x, and wherever it sits at release (before or past the tick) decides whether a spring pulls the drawer shut or bottoms the weight out and holds it open.

npx shadcn@latest add https://design.helpmarq.com/r/drawer-counterweight.json
Preview Drawer Counterweight on ns-ui's site (opens in a new tab)
Loading the source for drawer-counterweight…

drawer-counterweight