The TairoRadioCard component is a versatile radio input that combines the functionality of a radio button with the visual appeal of a card. It's built on top of Reka UI's RadioGroupItem and provides additional styling options through Shuriken UI's design system.
| Prop | Type |
|---|---|
asdefault: - | AsTag | ComponentThe element or component this component should render as. Can be overwritten by `asChild`. |
as-childdefault: - | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our [Composition](https://www.reka-ui.com/docs/guides/composition) guide for more details. |
disableddefault: - | booleanWhen `true`, prevents the user from interacting with the radio item. |
icondefault: - | string |
iddefault: - | string |
labeldefault: - | string |
namedefault: - | stringThe name of the field. Submitted with its owning form as part of a name/value pair. |
requireddefault: - | booleanWhen `true`, indicates that the user must set the value before the owning form can be submitted. |
roundeddefault: "sm" | "md" | "sm" | "lg" | "none" |
subtitledefault: - | string |
valuedefault: - | AcceptableValueThe value given as data when submitted with a `name`. |
variantdefault: "default" | "default" | "muted" | "none" |
| Event | Emitted Value Type |
|---|---|
select | [event: any] |
| Slot | Type |
|---|---|
#default | {} |
#indicator | {} |