Skip to main content

Text

The text component allows you to display text.

Text API

The following section details Text component's specific settings. For more details on the App editor, check the dedicated documentation or the App editor Quickstart:

Controls

This component can be controlled by frontend scripts using these functions:

NameParametersDescriptionExample
setValueid: string, value: anyManually set or force the value of a component.setValue(id: 'a', value: 17)

Text input

TypeConnectableTemplatableDefaultDescription
stringtruetrueHello World!The text to display.

Text configuration

NameTypeConnectableTemplatableDefaultDescription
style'title', 'subtitle', 'body', 'label','caption'falsefalse'body'The text style.
Copy buttonbooleanfalsefalsefalseWhether to display a copy button.
TooltipbooleanfalsefalsefalseWhether to display a tooltip.

Outputs

NameTypeDescription
resultstringThe text.
loadingbooleanThe loading state of the text component.

Inline editor

You can directly edit the text by click the Pen icon on the app editor. You can also double click on the text to edit it.