1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Confirm Button

Confirm Button

block

Press-twice confirm with no modal. The first press arms the button, swaps its label to the outcome and shows a short notice. A second press within 2.5 s runs the action, and the result appears in a polite status line. It uses usermeld's shadcn button variants and sizes, Escape disarms it, and the spinner respects reduced motion.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/confirm-button.json"
Premium blocks for shadcn/uiShadcnblocks.com ¡ AffiliateExplore
  • framer-motion
  • utils
components/confirm-button.tsx