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

0.1.1

  • Its icon is 16px, Alert's size, centred on the title's line.

02

0.1.0

  • A danger toast passes axe and is still announced assertively.
  • useToast is stable.
  • Its close button uses the neutral tone.

03

0.0.2

  • ToastProvider and useToast: add, close, update and promise; tones info, success, warning and danger, each with a 3px status edge and a sharp icon; one action at most; danger toasts stay until dismissed and are announced at once.

Every change to @qeetrix/react

Next — NavigationTabs