Radio — Playground
size
State
<kui-field label="Plan">
<div role="radiogroup" aria-label="Plan">
<label>
<input kuiRadio type="radio" name="playground-radio" checked />
Starter
</label>
<label>
<input kuiRadio type="radio" name="playground-radio" />
Pro
</label>
</div>
</kui-field>| Name | Type | Default | Description |
|---|---|---|---|
| size | 'xs' | 'sm' | 'md' | 'lg' | undefined | undefined | Radio size mapped to Kikita radio tokens. Resolved from defaults.radio.size, then the parent field, then the global defaults.size, then md. |
| invalid | boolean | false | Marks the radio invalid outside a kui-field error state. With [formField] the Field state wins. |
| id | string | undefined | undefined | Explicit id override. Inside kui-field, the field id is used when omitted. |
| KuiRadioOptions | interface | - | Shape of defaults.radio: size. |
Inputs verified against @kikita-labs/ui v2.0.0 public typings.