Confirm
Asks before an action happens — in a small alert dialog or right next to the button.
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_••••7Q2MPopup
confirm.popup($event, options) asks right next to the clicked button. Escape or a click outside answers "no".
Olena Koval Marek Nowak Sara Lind
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.