Skip to main content

Progress

Shared, editable XML components from the progress 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">
<Column state="{done:false}" class="p-4 gap-3">
<ui:Progress bind-value="done ? 100 : 25" label="Upload progress" />
<ui:Button label="Change progress" on-press="toggle done" />
</Column>
</ui:Theme>
A progress value
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.

Dependencies: theme.

Exports​

ui:Progress · ui:ProgressIndicator · ui:ProgressLabel · ui:ProgressTrack · ui:ProgressValue

ui:Progress​

PropDefaultRequired
valuenullNo
min0No
max100No
label'Progress'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="Progress" props="value=null, min=0, max=100, label='Progress'">
<Meter bind-value="props.value" bind-min="props.min" bind-max="props.max" bind-label="props.label" class="bg-rc-secondary text-rc-primary rounded-full transition-value spring-soft" />
</Component>

Read Progress source.

ui:ProgressIndicator​

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="ProgressIndicator">
<View class="bg-rc-primary rounded-full h-2">
<Slot />
</View>
</Component>

Read ProgressIndicator source.

ui:ProgressLabel​

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="ProgressLabel" props="text=''">
<Text bind-text="props.text" class="font-rc-small font-medium" />
</Component>

Read ProgressLabel source.

ui:ProgressTrack​

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="ProgressTrack">
<View class="bg-rc-secondary rounded-full h-2">
<Slot />
</View>
</Component>

Read ProgressTrack source.

ui:ProgressValue​

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="ProgressValue" props="text=''">
<Text bind-text="props.text" class="font-rc-small font-medium" />
</Component>

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