Confirm With Countdown
- from @tealmac
An alert dialog whose destructive button unlocks after a countdown that restarts each time it opens; use this when a rushed click is the main risk.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @tealmac/confirm-with-countdownRegistry dependencies2
- alert-dialog
- button
Packages0
No npm packages are installed with it.
