Skip to content

Field binding

Field binding connects an element on a page, such as a heading, image or link, to a field of a content item, so the element shows that item's value instead of fixed text.

Updated

On this page

What it is

Binding separates design from content. A designer styles one card; each item fills it with its own title and photo. Editors change the content without touching the design, and the design changes without retyping any content.

Bindings can also decide whether something shows at all, such as a Sold out badge that appears only when a switch is on.

In Xodia

Inside a Collection List or on a collection page, select an element and choose Content from in its settings: Static, or a field of the right type. Visibility shows it only when a field is set, empty, on or a given value.

Bound elements carry a field chip on the canvas, and double-clicking bound text edits the item, not your code. In the code a binding is plain JSX with a data-field attribute.

Read more

See every term in the glossary