+++
# -----------------------------------------------------------------------
# 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

<b>Signature</b>

```typescript
export declare type AlertVariant = 'success' | 'warning' | 'error' | 'info';
```
<b>Import</b>

```typescript
import { AlertVariant } from '@grafana/ui';
```
