# alert (Flowbite v4 kit)

> The alert component can be used to provide information to your users such as success or error messages, but also highlighted information complementing the normal flow of paragraphs and headers on a page.

## Props for `Alert`

| Name | Type | Description |
|------|------|-------------|
| `variant` | `'brand'|'danger'|'success'|'warning'|'dark'` | The visual style variant. Defaults to `brand` |
| `border` | `'none'|'bordered'|'accent'` | The visual border style. Defaults to `none` |
| `dismissible` | `boolean` | Whether the alert can be dismissible. Defaults to `false` |

## Blocks for `Alert`

- `content`: The alert content, typically includes `Alert:Title` and `Alert:Description`
- `icon`: The alert icon, typically includes `twig:ux:icon`

## Blocks for `Alert:Action`

- `content`: The action element, typically a button or link

## Blocks for `Alert:Description`

- `content`: The descriptive text of the alert

## Blocks for `Alert:Title`

- `content`: The title text of the alert

## Dependencies

- twig/extra-bundle
- twig/html-extra:^3.12.0
- tales-from-a-dev/twig-tailwind-extra:^1.0.0

- [View component](https://ux.symfony.com/toolkit/kits/flowbite-4/components/alert)
