view.text

Block for displaying text.

If you need formatted text, use view.markdown.

Component properties

Name

Type

Description

type*

"view.text"

Set component type

label

string

Label above the component.

content

string

The text displayed in the block. To insert a new line, use \n.

hint

string

Hint text.

rtl

object

In some languages, like Arabic or Hebrew, text is written from right to left. Use this property to set up the correct display mode for the component.

View example in the sandbox.

Learn more about RTL languages.

rtl.mode

string

Display mode:

  • ltr — left to right.
  • rtl — right to left.

The chosen value will be added to the dir attribute in the component's HTML code. Learn more about dir.

validation

condition

Validation based on condition.