Text Control
Simple single-line text input for short content like titles, names, or labels.
Options
Section titled “Options”| Option | Type | Default | Description |
|---|---|---|---|
label | string | - | Field label shown in editor |
control | string | text | Control type |
placeholder | string | - | Placeholder text |
default | string | - | Default value |
Example
Section titled “Example”{ "attributes": { "heading": { "type": "string", "default": "Welcome", "wbs": { "label": "Heading", "control": "text", "placeholder": "Enter heading text..." } } }}Template Usage
Section titled “Template Usage”<h2>{{ attributes.heading }}</h2>Use Case
Section titled “Use Case”Use Text for:
- Block titles and headings
- Button labels
- Names and labels
- Short descriptive text
For longer content, use Textarea or Rich Text controls.