Skip to content
PixeloreUI
Feedback

Alert

An inline message panel for important context that the user should notice but doesn't need to dismiss. Four semantic variants — info, success, warning, danger — each with the appropriate aria-live politeness.

Variants

Accessibility notes

  • Renders as role=“alert” with aria-live=“polite” for info/success and assertive for warning/danger — assistive tech interrupts the user for urgent variants only.
  • Use Alert for messages that appear in response to a user action and should be noticed but don't block. For blocking confirmations, use Dialog.
  • Don't put interactive controls inside an Alert — accessibility tools may not announce them in context. If the user needs to act, use a Toast or Dialog instead.