+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "AlertVariant"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## AlertVariant type
### AlertVariant type
Signature
```typescript
export declare type AlertVariant = 'success' | 'warning' | 'error' | 'info';
```
Import
```typescript
import { AlertVariant } from '@grafana/ui';
```