Skip to content

Alert

A brightly colored message that can be dismissed within browsers. Useful for getting eye catching information across. Can check out Bootstrap's docs for an example.

Updates

text string ("UNKNOWN")
The text for the alert to display.
color BSColor ("warning")
The outline, and background color of the message.
isDismissible boolean (true)
If the message can be dismissed locally in a browser. This doesn't remove the alert from the page, it just hides it for the user. It will reappear on refresh.

Examples

{
  text = "Hello world!",
  color = "primary",
}

{
  text = "Oh no! Something went terribly wrong!",
  color = "danger",
  isDismissible = true,
}

See Also