Text
Shows text: either fixed text or a value from your data.
Use it for: Headings, paragraphs and values. Inside a list or form it can show a field with bindings.value.
- CategoryVisual
- ChildrenNone
- DataOne field (bindings.value)
- ActionNone
| Prop | Required | Accepts | What it does |
|---|---|---|---|
text |
No | text, up to 2000 characters | The text to show. Leave it out when the text comes from bindings.value. |
Every component also accepts id (required, unique on its screen), and the optional preset and style described in Style options.
Example
Section titled “Example”{ "id": "heading", "type": "Text", "props": { "text": "Welcome back" }, "preset": "heading"}