Visual intent of an <mj-confirm-dialog>. Drives the header icon and the confirm button's color, so callers rarely restate either.
<mj-confirm-dialog>
default
danger
warning
info
Visual intent of an
<mj-confirm-dialog>. Drives the header icon and the confirm button's color, so callers rarely restate either.default— a neutral question (e.g. "Discard unsaved changes?"). Blue confirm button.danger— a destructive / irreversible action (delete). Red confirm button.warning— a non-destructive but consequential action. Blue confirm button, caution icon.info— an informational confirmation. Blue confirm button, info icon.