How a component looks on the design surface.
| Property |
Type |
Description |
dir? |
"auto" | "ltr" | "rtl" |
For text components: the value for the element’s dir attribute. Undefined otherwise. |
error |
string | null |
Syntax error in the component’s text or src, if any. |
label |
string |
Text shown inside the component (raw text with placeholders, or a placeholder label). |
runs |
object[] | null |
For text components with allowHtml: the label split into styled runs (render each as a text span with its camelCase CSS style). Null otherwise. |
style |
Record<string, string> |
camelCase CSS properties, usable as a React or Vue style object. |