# Alert Text

{% hint style="info" %}
**Block Information**

Available in: Page Flow

Toolbox Category: Page Content

Block Type: [Output](/app-editor/page-flow/block-anatomy.md#output-block)

Output Type: [*text*](/app-editor/page-flow/references/value-types.md)
{% endhint %}

The **`Alert Text`** block is an [output block](/app-editor/page-flow/block-anatomy.md#output-block) that dynamically creates a [Alert element](/app-editor/page-editor/built-in-elements/alert.md) and outputs its content (of type [*text*](/app-editor/page-flow/references/value-types.md)) .&#x20;

<div align="left"><figure><img src="/files/2SDehh1LNlCScIg4AAt1" alt="" width="516"><figcaption><p>Alert Text block</p></figcaption></figure></div>

It consists of the following (from left to right):

* *Alert Type*: [Dropdown configuration setting](/app-editor/page-flow/block-anatomy.md#dropdown) with options for [Normal or a Dismissible alert](/app-editor/page-editor/built-in-elements/alert.md#dismissible).
* *Alert Style*: [Dropdown configuration setting](/app-editor/page-flow/block-anatomy.md#dropdown) with pre-defined options of [background and text colors](/app-editor/page-editor/built-in-elements/alert.md#alert-style).
* *Text*: [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) that accepts a [*text*](/app-editor/page-flow/references/value-types.md) value containing the content inside the alert.

{% hint style="success" %}
You can attach the block to [Set Content](/app-editor/page-flow/toolbox-blocks/set-content.md) or [Set Content in Data Design](/app-editor/page-flow/toolbox-blocks/set-content-in-data-design.md) blocks to display the content on the page or form.
{% endhint %}

***

## Usage Example

An example of the usage for the Alert Text block is shown below:

<figure><img src="/files/kve7cDoKuOVkVQpT2Jfr" alt=""><figcaption><p>Alert Text block usage example</p></figcaption></figure>

***

## See also

[Alert Element](/app-editor/page-editor/built-in-elements/alert.md)

[Page Flow Set Content block](/app-editor/page-flow/toolbox-blocks/set-content.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/alert-text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
