Skip to main content

Relo UI Components

Relo UI Components supplies editable XML recipes over the native primitives. Start with one component; combine them after understanding its inputs and outputs.

Before you start: display data and edit a value.

One button family​

<ui:Theme xmlns:ui="urn:relo:registry:relo">
<Row class="gap-2 flex-wrap">
<ui:Button label="Save" />
<ui:Button label="Cancel" variant="outline" />
<ui:Button label="More" variant="ghost" />
</Row>
</ui:Theme>
Button variants
editable
Browser preview
rReady to explore
Environment & events

Browser rendering of the shared document. Host services are bundled demo mocks. XML edits reset local state; data edits preserve compatible state.

Interact with the preview to inspect emitted events and mocked service calls.

Try it: change only the second button’s variant from outline to secondary.

Find a component​

Browse every component API, including props, defaults, slots, and events. Focused guides cover buttons, forms, collections, overlays, and feedback.

Use the shared definitions​

Declare xmlns:ui="urn:relo:registry:relo" to use the project’s pinned catalog. Use <ui:Button label="Continue" /> for the catalog recipe or <Button title="Continue" /> for the built-in primitive. Run relo-components build to bundle the source for delivery. Install Components host support before creating a session that needs its adapters or services. Customize and build your components.

Fieldtrip and Sidequest show complete compositions after you have learned the individual APIs.