# `FrappeUIPhx.Components.Alert`
[🔗](https://github.com/moacirbishopcamata/frappe_ui_phx/blob/v0.3.1/lib/frappe_ui_phx/components/alert.ex#L1)

Alerta com título, descrição e ação opcional. Temas `gray | blue | green | amber | red`.

# `alert`

## Attributes

* `theme` (`:atom`) - Defaults to `:gray`. Must be one of `:gray`, `:blue`, `:green`, `:amber`, or `:red`.
* `title` (`:string`) (required)
* `icon` (`:string`) - sobrescreve o ícone do tema. Defaults to `nil`.
* `class` (`:any`) - Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block` - descrição.
* `actions`

---

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