Gallery

Confirm (useConfirm)

Ask before an action with one await: const ok = await confirm({ … }).

Preview

Focus rings

In each theme: Default · Trackable · SkillDecks · BetterMarketer

Install

npx shadcn@4.23.0 add https://ui.dobrin-dobrev.co.uk/r/confirm.json

Into an app set up with shadcn init --base radix; the parts it uses come with it.

Files

  • registry/default/blocks/confirm.tsx → components/blocks/confirm.tsx