Status
Inline alert
An inline alert is a short message in the flow of a page, next to what it is about, that says something is late, done, worth knowing or broken, and stays until that changes.
Designed, coming to kanso-ui
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).