stnd.buildSTANDARD MANUAL2026-09-20

AlertDialog

A native <dialog>-based confirmation modal. Used internally by DialogManager/confirm() — most consumers should call confirm() from @stnd/ui/dialog.js instead of mounting this directly.

Type Name Description
boolean open? Bindable open state.
string title? Dialog title.
string description? Dialog body text.
string confirmLabel? Confirm button label.
string cancelLabel? Cancel button label.
‘neutral’ | ‘danger’ intent? Confirm button styling.
() => void onconfirm? Called when confirmed.
() => void oncancel? Called when cancelled or dismissed.