Alert

Class nameTypeDescription
tc-alertComponentAlert
tc-alert-altUtilityAlternate styled alert

Examples

tc-alert

tc-alert-alt

Dismissible alert

This example utilizes the data-hide attribute to hide when clicked.

Web component

Alerts are available to be used as a web component. Any tc-alert-* utility class can be applied.

Attributes:

  • id: Unique ID (required if dismissible)
  • data-icon: Any valid skin-icon name (optional)
  • data-dismiss-duration: Minutes to keep alert hidden after dismissed (optional)
This is an alert with tc-alert-alt class appliedThis is an informational alertThis is a warning alertThis is an error alertThis is a success alert