feedbackcss

Alert

Dismissible inline message with status variants, styled by CSS and dismissed by the shared close system.

Notes

  • Alerts have no component class: dismissal is driven by the shared close singleton (singletons/close.ts) through the document-level toggle delegate installed by the essentials bundle.
  • Dismissal plays the z-closing transition (default 150 ms) and removes the alert when it ends; animation: false or duration: 0 in the data-close value removes it instantly.
  • Unclassed links inside an alert are underlined and medium-weight so they stand out against the tinted background.