ComponentsOverlay

Confirm

Asks before an action happens — in a small alert dialog or right next to the button.

Features6APIThemingAccessibility

Delete

confirm.dialog() resolves to true or false. Focus starts on Cancel, the safe choice.

  • Q3 report.pdf
  • Roadmap.xlsx
  • Logo.svg

Severities

severity colours the icon and the accept button; danger also turns the default label into "Delete".

Last answer: —

Async

accept runs before the answer. The button waits, and a rejected promise keeps the dialog open.

sk_live_••••7Q2M

Custom

Own icon, labels and defaultFocus: 'accept' when going ahead is the expected answer.

Design tokens

dt in the options changes the tokens of one confirm; override confirm in the preset for all of them.