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

Alert

A message in the page: above a form, in a card, or across the top as a banner. It never takes focus, and never goes by itself.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.4
Renders
<div>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

0.3.0

  • icon takes an element as well as a component (icon={<PlusIcon />}), so a Server Component can pass one: its type is IconSource.

02

0.1.0

  • A wrapped banner keeps its icon and Dismiss on the first line.

03

0.0.8

  • variant="banner": a notice about the whole app, one line across the page, its actions and Dismiss at the end; icon, in place of the tone's.

04

0.0.3

  • Alert: info, success, warning or danger on the status tint with the 3px status edge; a title led by a hidden tone word, a description, actions and an optional Dismiss. announce makes it a status or an alert only when it appears.

Every change to @qeetrix/react

Next — FeedbackProgress