Dev Design Library

Confirm Dialog

A focused alert dialog for confirming an action, with default/warning/danger variants, an async-aware confirm button with a spinner and inline error, and a safety-first default focus.

Confirm Dialog preview
Library
ReactFrame
Framework
React
Type
component
License
MIT
Dependencies
clsx, motion, tailwind-merge
Install
npx shadcn@latest add https://reactframe.com/r/confirm-dialog.json
Files
  • registry/new-york/confirm-dialog/confirm-dialog.tsx
Source
https://github.com/AhmetLoca/reactframe-public

Categories

More from ReactFrame