Component description

The static-text property creates a static text component that cannot be edited. Used mainly on dashboard/pages.

Example

Minimal JSON

{
  "type":"static-text""translationKey":""
}
{
  "type":"static-text""translationKey":"static_text_example",
  "isUnderlined":true
}

Nested properties

PropertyDescriptionValuesMandatory
typestatic-textstringYes
translationKeyTranslation key of the text. Define the key in translations to specify how the text is displayed in the UI. Text formatting using HTML is supported.stringYes
componentIdUnique ID of a component. If left empty, a random string will be generated. Primarily used in patch packages to define the component's position within the layout (template).stringNo
isUnderlinedDetermines whether the component has a line underneath, dividing it from the rest of the content. True: static-text isUnderlined.png False (default): static-text.pngbooleanNo