The design

kanso-ui does not have this component yet. This is the Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens.

When to use

  • Use it for the state of something on screen: a late task, a payment that arrived, a file that didn't save.
  • Don't use it to confirm an action that just happened: use Snackbar. Don't use it for a question that must be answered first: use Dialog. Don't use it for an error in one field: use the field's error text (k-field--error).