Feedback
Snackbar
A snackbar is a brief message near the bottom of the screen that confirms what the person just did and, at most, offers one way to undo it.
In kanso-ui as Snackbar
Live in kanso-ui
Snackbar 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 a finished action, above all when the result is out of view, and to offer Undo: "Weekly review marked as done".
- Don't use it for an error that needs a decision: use Dialog, or an InlineAlert next to the cause. Don't use it for anything the person must find again later: put it on the page.