# Badged 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 **`Badged Text`** block is an [output block](/app-editor/page-flow/block-anatomy.md#output-block) that dynamically creates a [Badged Text element](/app-editor/page-editor/built-in-elements/badged-text.md) and outputs its content (of type [*text*](/app-editor/page-flow/references/value-types.md)) .&#x20;

<div align="left"><figure><img src="/files/Whcutg9v26KBwjag8yeq" alt="" width="539"><figcaption><p>Badged Text block</p></figcaption></figure></div>

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

* *Badge Shape*: [Dropdown configuration setting](/app-editor/page-flow/block-anatomy.md#dropdown) with options for [Normal or a Pill shape](/app-editor/page-editor/built-in-elements/badged-text.md#badge-shape)
* *Badge 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/badged-text.md#badge-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 badge.

{% 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 Badged Text block is shown below:

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

***

## See also

[Badged Text Element](/app-editor/page-editor/built-in-elements/badged-text.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/badged-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.
