Skip to main content

Bubble

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

Dependencies: theme.

Exports​

ui:Bubble · ui:BubbleActions · ui:BubbleContent · ui:BubbleDescription · ui:BubbleFooter · ui:BubbleGroup · ui:BubbleHeader · ui:BubbleMedia · ui:BubbleReactions · ui:BubbleTitle

ui:Bubble​

PropDefaultRequired
variant'default'No
align'start'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.

Mapped variant choices: default, destructive, ghost, muted, outline, secondary, tinted.

Events​

No directly emitted output events.

Slots​

  • default — caller children.
Definition and forwarded payloads
<Component name="Bubble" props="variant='default', align='start'">
<Column bind-class="'rounded-rc-xl px-3 py-2 gap-1 font-rc-small ' + {default:'bg-rc-primary text-rc-primary-foreground',secondary:'bg-rc-secondary text-rc-secondary-foreground',muted:'bg-rc-muted text-rc-muted-foreground',tinted:'bg-rc-accent text-rc-accent-foreground',outline:'border border-rc-border',ghost:'',destructive:'bg-rc-destructive-surface text-rc-destructive'}[props.variant] + ' ' + {'start':'self-start','end':'self-end'}[props.align]">
<Slot />
</Column>
</Component>

Read Bubble source.

ui:BubbleActions​

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="BubbleActions">
<Row class="gap-2 items-center">
<Slot />
</Row>
</Component>

Read BubbleActions source.

ui:BubbleContent​

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

Read BubbleContent source.

ui:BubbleDescription​

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

Read BubbleDescription source.

ui:BubbleFooter​

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="BubbleFooter">
<Row class="gap-2 items-center">
<Slot />
</Row>
</Component>

Read BubbleFooter source.

ui:BubbleGroup​

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

Read BubbleGroup source.

ui:BubbleHeader​

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

Read BubbleHeader source.

ui:BubbleMedia​

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="BubbleMedia">
<Row class="items-center justify-center">
<Slot />
</Row>
</Component>

Read BubbleMedia source.

ui:BubbleReactions​

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="BubbleReactions">
<Row class="gap-1 items-center">
<Slot />
</Row>
</Component>

Read BubbleReactions source.

ui:BubbleTitle​

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

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