Skip to main content
  1. Docs
  2. Components
  3. Overlays

Toast

A brief word that something happened, at the bottom end. One action at most, such as Undo.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<div role="region">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Keyboard

KeysWhat happens
F6Moves to the Notifications region.
TabTabThrough a toast's action and Close.
EscapeCloses the focused toast.

02

Behaviour

Announced
Politely; a danger toast at once, assertively.
Time
Toasts pause while hovered or focused; danger ones stay until closed.
Region
A landmark named "Notifications", at the bottom end.
Touch
Swipe one away.

03

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Focus: where it lands as it opens, and where it returns as it closes
  • Forced colours, reduced motion and right to left
Next — ToastChangelog