← Back to release summary

Toast UI element

Category
Layered APIs
Type
New or changed feature
Status
No longer pursuing (Chrome No longer pursuing)
Intent stage
Start prototyping

WPT details: Tested in the /toast folder of Web Platform tests, not yet pushed into Chrome so not yet on wpt.fyi. Categories under testing: attributes, methods, options, events, show-toast (function)

Summary

Introduces a standard, customizable toast notification HTML element, and a JavaScript API to provide easy use for common cases.

Motivation

Modern web applications have grown in the scale of what actions they can offer, to the point where clear feedback is an essential part of a complete, accessible web experience. Toast UI elements are a common way to provide this feedback, and a variety of libraries exist to provide toasts. Creating a built in toast would allow those libraries to layer their implementations on top, and allow web developers to use a simple, unopinionated toast without having to bring a new library into their project.

Standards & signals

Ecosystem

Docs: https://github.com/jackbsteinberg/std-toast

Explainers: https://github.com/jackbsteinberg/std-toast

View on chromestatus.com