# Alert Text

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

Available in: Page Flow

Toolbox Category: Page Content

Block Type: [Output](https://docs.zingy.ai/app-editor/block-anatomy#output-block)

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

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

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2Fox7sowbWjHg7gDQkLZEt%2Fimage.png?alt=media&#x26;token=287602c3-d8f5-4f08-bdba-32c078c8d7d3" 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](https://docs.zingy.ai/app-editor/block-anatomy#dropdown) with options for [Normal or a Dismissible alert](https://docs.zingy.ai/page-editor/built-in-elements/alert#dismissible).
* *Alert Style*: [Dropdown configuration setting](https://docs.zingy.ai/app-editor/block-anatomy#dropdown) with pre-defined options of [background and text colors](https://docs.zingy.ai/page-editor/built-in-elements/alert#alert-style).
* *Text*: [Value Parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) that accepts a [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) value containing the content inside the alert.

{% hint style="success" %}
You can attach the block to [Set Content](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/set-content) or [Set Content in Data Design](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/set-content-in-data-design) 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="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2F4zEJi1IPZpzuHNDjHM9k%2Fimage.png?alt=media&#x26;token=b955c745-5e96-42fb-9507-c2133f5b279b" alt=""><figcaption><p>Alert Text block usage example</p></figcaption></figure>

***

## See also

[Alert Element](https://docs.zingy.ai/app-editor/page-editor/built-in-elements/alert)

[Page Flow Set Content block](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/set-content)
