Dev Design Library

Alert dialog

A confirmation dialog for destructive or important actions that waits for async work, and becomes a bottom sheet on phones.

Alert dialog preview
Library
HextaUI
Framework
React
Type
ui
License
MIT
Dependencies
@base-ui/react@^1.8.0, class-variance-authority, cn
Install
npx shadcn@latest add https://hextaui.com/r/alert-dialog.json
Files
  • components/ui/alert-dialog.tsx
  • components/ui/button.tsx
  • components/ui/sheet.tsx
  • components/ui/spinner.tsx
  • hooks/use-button-feedback.ts
  • hooks/use-delayed-loading.ts
Source
https://github.com/preetsuthar17/hextaui

Categories

More from HextaUI