Catalogue
Hold to Delete, preview

Live. Click, drag or type.

A red fill sweeps across the button while the bin lid lifts and rattles; let go early and it drains back. Hold for 1.2 s and the file crumples into a ball and drops into the bin, with an undo toast.

Install

  1. One commandnpx shadcn@latest add "https://qodesign.dev/r/hold-to-delete.json?key=YOUR_KEY"Your key comes with the order. Works in any shadcn project, Next.js App Router included.
  2. Or copy it inThe zip has react/src/components, ready for Next.js ("use client" included).
  3. Or ask your AIPaste PROMPT.md into Cursor, Lovable or v0.

What it does

  • Press-and-hold progress fill
  • Bin lid + crumple animation
  • Release-to-cancel, undo toast
Stack
React · Framer Motion · HTML version
Released
Licence
Personal and client projects. Licence

Reviews

No reviews yet for this piece.

Only people who got it can review it: the order email has a rating link, one review per order.

Keep browsing

Gateway Dive, animated preview

Sign in and sign up morph over your live app, then the button dives you into it.

Liquid Glass Tab Bar, animated preview

A glass drop magnifies the tab under it, stretches between tabs and bursts into the player.

Spotlight Lamp Login, animated preview

A sign-in page in the dark: a desk lamp finds each field and floods the screen when you sign in.

Not ready to buy? Try the free kit