R

AlertDialog

4 parts

Anatomy

Import the parts and compose them. Each part forwards attributes to its underlying element.

vue
import {
  AlertDialogAction,
  AlertDialogCancel,
  AlertDialogContent,
  AlertDialogRoot,
} from '@robonen/primitives/alert-dialog';

<AlertDialogAction>
  <AlertDialogCancel />
  <AlertDialogContent />
  <AlertDialogRoot />
</AlertDialogAction>

API Reference

AlertDialogAction

Action

No props or events — renders its element and forwards attributes.

AlertDialogCancel

Cancel

No props or events — renders its element and forwards attributes.

AlertDialogContent

Content

No props or events — renders its element and forwards attributes.

AlertDialogRoot

Root

No props or events — renders its element and forwards attributes.