# EuiAlertComponent

**Type:** component



Alert displays a short, important message to attract the user's attention without interrupting its task.


**Selector:** `div[euiAlert], eui-alert`

## Inputs
- **ariaDescribedBy**: `string` - Sets the `aria-describedby` attribute for the host element.
- **e2eAttr**: `string` - Sets the `data-e2e` attribute for the host element. Default: `eui-alert`.
- **isBordered**: `boolean` - Removes the left border and icon from the alert.
- **isCloseable**: `boolean` - Allows the alert to be closed by the user.
- **isFocusable**: `boolean` - Allows the alert to be focused by the user.
- **isMuted**: `boolean` - Removes the left border and icon from the alert.
- **isVisible**: `boolean` - Controls the visibility of the alert. Default: true
- **euiSuccess**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiInfo**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiWarning**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiDanger**: `any` - From host directive: #[[file:BaseStatesDirective.md]]
- **euiVariant**: `any` - From host directive: #[[file:BaseStatesDirective.md]]

## Outputs
- **closeAlert**: `EventEmitter` - Event emitted when the alert is closed.
