Skip to main content

AlertDialogTrigger

@arolariu/components


@arolariu/components / AlertDialogTrigger

AlertDialogTrigger

Opens the alert dialog from an interactive trigger element.

Remarks

  • Renders a <button> element by default
  • Built on Base UI Alert Dialog
  • Supports the render prop for element composition
  • Styling via CSS Modules with --ac-* custom properties

Example

<AlertDialogTrigger>Delete</AlertDialogTrigger>

See

Base UI Documentation

Type Aliases

// was this page useful?