# Form Subcomponent: Display Text

The Display Text subcomponent can only be used within the [Form component.](/components/component-library/modular-checkout-components/component-checkout-form.md) The Display Text component allows you to include header, and text within the Form. It is a rich text field which supports links, lists, and text styling.

The text input supports the the use of **{{totalCost}}** and **{{termEndDate}}** [Variables for Limio Components](/components/component-library/list-of-variables-that-can-be-used-in-limio-components.md)

<figure><img src="/files/aHlQgEpFPi3bmbhyGNkz" alt=""><figcaption></figcaption></figure>

### Props

| Prop Name      | Label       | Type   | Default Value                                                     | Description                                        |
| -------------- | ----------- | ------ | ----------------------------------------------------------------- | -------------------------------------------------- |
| text           | Text        | string | You will be charged {{totalCost}} per month until {{termEndDate}} | This is the copy which will appear on the page     |
| col            | Column Size | number | 12                                                                | Size of the columns                                |
| fieldClassName | Class Name  | string | ""                                                                | The CSS class name for styling the field component |


---

# 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.limio.com/components/component-library/modular-checkout-components/modular-checkout-subcomponents-in-form/form-subcomponent-display-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.
