Alert

Alerts are available as a web component using the skin-alert tag.

Attributes:

  • id: Unique ID (required if dismissible)
  • data-hide-duration: Duration (in minutes) to keep the alert hidden after dismissed (optional)
  • data-hide-transition: Duration (in milliseconds) of the dismissal transition, 250 by default (optional)
  • data-icon: Any valid skin-icon name (optional)
  • data-style: Alternate style (optional)

Valid styles include:

  • bt: 4px top border
  • br: 4px right border
  • bb: 4px bottom border
  • bl: 4px left border

Examples

This is an unstyled alertThis is a custom alert with bl style appliedThis is a default styled alert with bl style appliedThis is an informational alert with bt style appliedThis is a warning alertThis is an error alertThis is a success alert