Skip to content
RivetUI

Alert Dialog

Requests explicit confirmation before a consequential action is committed.

@rivetui/alert-dialog

Preview

Explore each composition interactively, then open its code in the same context.

Default

Require an explicit decision before an action with destructive or irreversible consequences.

Note
Use Dialog for ordinary workflows. Alert Dialog intentionally prevents dismissal without choosing an action or canceling.

Environment / Production

Frankfurt edge runtime

18 deployments are attached to this environment.

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/alert-dialog
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

AlertDialog

PropTypeDefault
openboolean—
defaultOpenbooleanfalse
onOpenChange(open: boolean, details) => void—

AlertDialogContent

PropTypeDefault
initialFocusboolean | RefObject | functioncancel control
Rivet UI / Alert DialogComponents engineered, not decorated.