Hold to confirm

controlsFreeMIT

A button for actions that must not happen by accident: it fills while held and fires when full.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/hold-to-confirm.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • hold-to-confirm.tsx
  • use-reduced-motion.ts