Component Proposal: Toast #5770
brandonlenz
started this conversation in
Component proposals
Replies: 1 comment 1 reply
-
|
This request has received a number of votes (note that it was converted from an issue earlier this year). We'd like to know more about the use cases for a toast component. Is the request coming from a place of needing an option to an alert or error message? Do the toast alerts need to disappear automatically or be dismissed by the user? Live examples would be great so we can best follow up on this request. We also want as many contributions as possible by a wide range of teams. Knowing more will allow us to provide an informed recommendation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Component Overview
USWDS currently does not offer a toast (or similar) component for displaying brief messages to users.
Using alerts are not always convenient as they often push content around on the page if shown/hidden dynamically, which makes them intrusive.
Describe the solution you'd like
Evaluate the need for a Toast, accessibility concerns and best practices, etc, and implement a suitable component
Describe alternatives you've considered
If there are better evaluated alternatives to achieve similar effect, document and close this issue
Additional context
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions