Cards and collections
Render three small cards and keep one selected value. Stable keys identify the rows.
Before you start: controlled inputs and component composition.
Three Cards
<ui:Theme xmlns:ui="urn:relo:registry:relo">
<Column state="{selected:'None'}" class="p-4 gap-3">
<For each="item" in="['Sketch','Build','Ship']" key="item">
<ui:Card><ui:Button bind-label="item" on-press="set selected to item" /></ui:Card>
</For>
<Text bind-text="'Selected: ' + selected" />
</Column>
</ui:Theme>
Three Cards
editable
rReady to explore
Try it: change one value or variant, then reset and compare the result.