# Toast
> Non-intrusive notification messages
Source: https://shellui.dev/docs/v0.4/components/data-display/toast
The Toast component displays brief, auto-dismissing notifications. Use toasts for success confirmations, error alerts, or informational messages that don't require user action.
## Installation
```bash
shellui add toast
```
## Basic Usage
```razor
@code {
private bool showToast = false;
}
```
## Variants
### Default
```razor
@code {
private bool show = false;
}
```
### Destructive
```razor
@code {
private bool show = false;
}
```
### Success
```razor
@code {
private bool show = false;
}
```
### Warning
```razor
@code {
private bool show = false;
}
```
## Position
Control where toasts appear on screen:
```razor
@code {
private bool show = false;
private bool show2 = false;
}
```
## Duration
A toast hides itself after `Duration` milliseconds (5 seconds by default). Set `Duration="0"` to keep it open until it's closed.
```razor