> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/flow/tutorials/components/alert/create-an-error-alert-dismissible.md).

# Create an error alert dismissible

## Overview

This page walks you through configuring the Alert component to display an error message. that is dismissible.

## Result

The final result will look like this:

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2Fgit-blob-dc846fd5b4b2c4c3544fb5c48c0bba98d00726a4%2F2022-12-02_11-29-41.png?alt=media" alt=""><figcaption></figcaption></figure>

## Steps

The steps to create an error alert that is dismissible are as follows:

### 1. Add the Alert component

* Drag the **Alert component** from the components list to our screen flow (located under the custom section)
* Enter an **API Name**. For example, *Alert*.

{% @arcade/embed url="<https://app.arcade.software/share/2dAkH0SCi63UV5Xq0lE1>" flowId="2dAkH0SCi63UV5Xq0lE1" %}

### 2. Configure the Alert component

* **Open the Component Builder** to access all settings
* Select the **variant: error**
* Icon name: **utility:error**
* **Is dismissible: set to true**
* Content: My error message

{% @arcade/embed url="<https://app.arcade.software/share/Ux5T6Q6N7W8rgiyVCrOC>" flowId="Ux5T6Q6N7W8rgiyVCrOC" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/flow/tutorials/components/alert/create-an-error-alert-dismissible.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
