Skip to main content

Field

Shared, editable XML components from the field family.

Usage​

Declare the catalog namespace in your screen and run relo-components build to bundle its dependencies before delivery. Install Components host support before session creation. Use ui:Theme or your compatible theme.

<ui:Theme xmlns:ui="urn:relo:registry:relo">
<ui:Field />
</ui:Theme>

Dependencies: theme.

Exports​

ui:Field · ui:FieldContent · ui:FieldDescription · ui:FieldError · ui:FieldGroup · ui:FieldLabel · ui:FieldLegend · ui:FieldSeparator · ui:FieldSet · ui:FieldTitle

ui:Field​

PropDefaultRequired
—No declared user props—

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

  • default — caller children.
Definition and forwarded payloads
<Component name="Field">
<Column class="gap-2">
<Slot />
</Column>
</Component>

Read Field source.

ui:FieldContent​

PropDefaultRequired
—No declared user props—

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

  • default — caller children.
Definition and forwarded payloads
<Component name="FieldContent">
<Column class="gap-1">
<Slot />
</Column>
</Component>

Read FieldContent source.

ui:FieldDescription​

PropDefaultRequired
text''No

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

No content outlets.

Definition and forwarded payloads
<Component name="FieldDescription" props="text=''">
<Text bind-text="props.text" class="font-rc-small text-rc-muted-foreground" />
</Component>

Read FieldDescription source.

ui:FieldError​

PropDefaultRequired
text''No

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

No content outlets.

Definition and forwarded payloads
<Component name="FieldError" props="text=''">
<Text bind-text="props.text" class="font-rc-small text-rc-destructive" />
</Component>

Read FieldError source.

ui:FieldGroup​

PropDefaultRequired
—No declared user props—

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

  • default — caller children.
Definition and forwarded payloads
<Component name="FieldGroup">
<Column class="gap-6">
<Slot />
</Column>
</Component>

Read FieldGroup source.

ui:FieldLabel​

PropDefaultRequired
text''No

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

No content outlets.

Definition and forwarded payloads
<Component name="FieldLabel" props="text=''">
<Text bind-text="props.text" class="font-rc-small font-medium" />
</Component>

Read FieldLabel source.

ui:FieldLegend​

PropDefaultRequired
text''No

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

No content outlets.

Definition and forwarded payloads
<Component name="FieldLegend" props="text=''">
<Text bind-text="props.text" class="font-rc-body font-semibold" />
</Component>

Read FieldLegend source.

ui:FieldSeparator​

PropDefaultRequired
—No declared user props—

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

No content outlets.

Definition and forwarded payloads
<Component name="FieldSeparator">
<Divider class="bg-rc-border" />
</Component>

Read FieldSeparator source.

ui:FieldSet​

PropDefaultRequired
—No declared user props—

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

  • default — caller children.
Definition and forwarded payloads
<Component name="FieldSet">
<Column class="gap-6">
<Slot />
</Column>
</Component>

Read FieldSet source.

ui:FieldTitle​

PropDefaultRequired
text''No

Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.

Events​

No directly emitted output events.

Slots​

No content outlets.

Definition and forwarded payloads
<Component name="FieldTitle" props="text=''">
<Text bind-text="props.text" class="font-rc-small font-medium" />
</Component>

Read FieldTitle source.

Composition and accessibility​

Use explicit value/change ownership; events do not bubble automatically. A component forwards only outputs declared by its own emits. Slots retain caller scope. Supply meaningful labels for interactive controls, preserve focus and touch targets, and test reduced motion on each platform.

Component customization · Definitions and slots · Components index