Skip to main content

Table

Shared, editable XML components from the table 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:Table />
</ui:Theme>

Dependencies: theme.

Exports​

ui:Table · ui:TableBody · ui:TableCaption · ui:TableCell · ui:TableFooter · ui:TableHead · ui:TableHeader · ui:TableRow

ui:Table​

PropDefaultRequired
columns3No
label''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​

  • default — caller children.
Definition and forwarded payloads
<Component name="Table" props="columns=3, label=''">
<Column semantics="table" bind-columns="props.columns" bind-label="props.label" class="gap-0">
<Slot />
</Column>
</Component>

Read Table source.

ui:TableBody​

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="TableBody">
<Column class="gap-0">
<Slot />
</Column>
</Component>

Read TableBody source.

ui:TableCaption​

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="TableCaption" props="text=''">
<Text bind-text="props.text" class="font-rc-small text-rc-muted-foreground py-4 text-center" />
</Component>

Read TableCaption source.

ui:TableCell​

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="TableCell" props="text=''">
<Text bind-text="props.text" semantics="cell" class="font-rc-small px-2" />
</Component>

Read TableCell source.

ui:TableFooter​

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="TableFooter">
<Column class="bg-rc-muted gap-0">
<Slot />
</Column>
</Component>

Read TableFooter source.

ui:TableHead​

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="TableHead" props="text=''">
<Text bind-text="props.text" semantics="columnHeader" class="font-rc-small font-medium px-2" />
</Component>

Read TableHead source.

ui:TableHeader​

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="TableHeader">
<Column class="gap-0">
<Slot />
</Column>
</Component>

Read TableHeader source.

ui:TableRow​

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="TableRow">
<Grid semantics="row" class="border border-rc-border py-2">
<Slot />
</Grid>
</Component>

Read TableRow 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