Skip to main content

Resizable

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

Dependencies: theme.

Exports​

ui:Resizable · ui:ResizableHandle · ui:ResizablePanel · ui:ResizablePanelGroup

ui:Resizable​

PropDefaultRequired
value50No
label'Panel size'No
min10No
max90No
orientation'horizontal'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​

  • on-change — explicitly emitted output; inspect the definition for payload shape.

Slots​

  • first — use Fill slot="first".
  • handle — use Fill slot="handle".
  • second — use Fill slot="second".
Definition and forwarded payloads
<Component name="Resizable" props="value=50, label='Panel size', min=10, max=90, orientation='horizontal'">
<Split bind-value="props.value" bind-label="props.label" bind-min="props.min" bind-max="props.max" bind-orientation="props.orientation" class="h-64" on-change="emit change with event">
<Column class="overflow-hidden">
<Slot name="first" />
</Column>
<Column class="items-center justify-center">
<Slot name="handle">
<View class="bg-rc-border w-0.5 h-8 rounded-full" />
</Slot>
</Column>
<Column class="overflow-hidden">
<Slot name="second" />
</Column>
</Split>
</Component>

Read Resizable source.

ui:ResizableHandle​

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="ResizableHandle">
<Column class="items-center justify-center">
<View class="w-0.5 h-8 bg-rc-border" />
</Column>
</Component>

Read ResizableHandle source.

ui:ResizablePanel​

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="ResizablePanel">
<Column class="flex-1 gap-2">
<Slot />
</Column>
</Component>

Read ResizablePanel source.

ui:ResizablePanelGroup​

PropDefaultRequired
value50No
label'Panel size'No
min10No
max90No
orientation'horizontal'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​

  • on-change — explicitly emitted output; inspect the definition for payload shape.

Slots​

  • first — use Fill slot="first".
  • handle — use Fill slot="handle".
  • second — use Fill slot="second".
Definition and forwarded payloads
<Component name="ResizablePanelGroup" props="value=50, label='Panel size', min=10, max=90, orientation='horizontal'" xmlns:ui="urn:relo:registry:relo">
<ui:Resizable bind-value="props.value" bind-label="props.label" bind-min="props.min" bind-max="props.max" bind-orientation="props.orientation" on-change="emit change with event">
<Fill slot="first">
<Slot name="first" />
</Fill>
<Fill slot="second">
<Slot name="second" />
</Fill>
<Fill slot="handle">
<Slot name="handle" />
</Fill>
</ui:Resizable>
</Component>

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