Text¶
A single run of text on a page — fixed, or filled in from the page's data.
Display widgets · widget type text · binds through text templates
Related: Heading · Badge · Alert
Examples¶
// A value from the page's data
Welcome back, {$data.customer.name}
// A page parameter
Statements for {$params.year}
// A value another widget published
Selected: {$vars.selectedRow.name}See Page and Portal State for which keyword to use where.
Options¶
| Option | Values | Default | Description |
|---|---|---|---|
| Text | Any text or template | Text |
The content to display |
| Text Align | Left · Center · Right | From theme | Horizontal alignment |
| Text Style | Bold · Italic · Underline | Off | Inline emphasis toggles |
| Inherit styles | On · Off | Off | When on, the text ignores the text theme and takes its styling from the container instead — a section header or footer, for example |
| Box Style | Sizing and spacing | — | The box around the text |
Notes¶
- Templates are evaluated live: when the underlying value changes, the text updates without a page reload
- Turn on Inherit styles for text that sits inside another widget's slot and should match it
- For a heading that carries document structure, use Heading instead