Alert

View as Markdown

An alert displays important notifications or warnings. The alert grabs your attention with a distinct message. This component helps convey critical information clearly within the card.

Example

Example

JSON example

{
  "content": {
    "settings": {},
    "body": [
      {
        "type": "section",
        "layout": "horizontal",
        "sections": [
          {
            "type": "message",
            "text": "This is a section block with message"
          }
        ]
      },
      {
        "type": "alert",
        "text": "This is alert text",
        "level": "ERROR",
        "closeable": true
      }
    ]
  }
}