Skip to content

Alert

An inline message about the current view: what happened and what to do next.

npx dtheo@latest add alert
Bench 3 now runs firmware 4.18.2
Runs from before the update are compared against the old reference, R-0409.
Gains approved
Kp 3.60 and Kd 0.09 passed all five acceptance checks on R-0413.

When to use

  • A failed load with Retry
  • A warning that affects the whole page
  • Confirmation after an action: use a toast
  • Errors for one field: use FieldError next to it

Accessibility

  • Warnings and errors use role="alert"; info and success use role="status".

Used in