> ## Documentation Index
> Fetch the complete documentation index at: https://xrlive.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Alert System

> Show styled alerts from anywhere in your visual

The xRLive Alert System lets you display a notification in the operator window from any Blueprint in your project — without needing a reference to the viewport widget.

## Alert types

| Type      | Color  | Use for                                    |
| --------- | ------ | ------------------------------------------ |
| `Info`    | Blue   | General information, status updates        |
| `Warning` | Yellow | Non-critical issues, things to be aware of |
| `Success` | Green  | Completed actions, confirmations           |
| `Error`   | Red    | Failures, things that need attention       |

## How it works

Calling `Show xRLive Alert` broadcasts an event on the `xRLive Window Sync Subsystem`. The `xRLive_Viewport` widget is bound to that event and handles creating and displaying the `WBP_Alert` widget inside its `AlertContent` slot.

Alerts auto-dismiss after 5 seconds, or the operator can close them manually.

<Note>
  The `xRLive_Viewport` widget must be running (i.e., a visual must be open) for alerts to display.
</Note>
