Feedback
Dialog
A dialog stops the person with one question that needs an answer before they go on, such as skipping an item or deleting a file.
In kanso-ui as Dialog
Live in kanso-ui
Dialog from kanso-ui as it draws today, in Kanso’s tokens. Press, hover and tab through it: the shapes, the springs and the sizes are the library’s own.
The design
The Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens: the look kanso-ui's component moves to with its family's release.
When to use
- Use it to confirm an action with weight: a record someone else relies on, money shared with someone, anything that can't be undone.
- Don't use it when Undo would do: act at once, then offer Undo in a Snackbar. Don't use it for a short task with fields: use Sheet. Don't use it for a message: use InlineAlert or Snackbar.