# `Noora.Alert`

An alert component.

## Example

```elixir
<.alert status="success" title="Operation completed successfully" />
```

# `alert`

## Attributes

* `id` (`:string`) - Defaults to `nil`.
* `type` (`:string`) - The type of alert. Defaults to `"primary"`. Must be one of `"primary"`, or `"secondary"`.
* `status` (`:string`) (required) - The status of the alert. Must be one of `"information"`, `"warning"`, `"error"`, or `"success"`.
* `size` (`:string`) - The size of the alert. Defaults to `"medium"`. Must be one of `"small"`, `"medium"`, or `"large"`.
* `dismissible` (`:boolean`) - Whether the alert can be dismissed. Defaults to `false`.
* `title` (`:string`) (required) - The title of the alert.
* `description` (`:string`) - The description of the alert. Only shown if `size` is large. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `action`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
