Radio
Model and states
Picked:
public string $picked = ''; ... <Radio label="One" value="One" model="$picked" /> <Radio label="Two" value="Two" color="error" model="$picked" /> <div>Picked: $picked</div> <Radio label="Checked" value="Checked" color="success" checked="true" /> <Radio label="Disabled" value="Disabled" checked="true" disabled="true" />
Colors
<Radio label="Warning" color="warning" checked="true" /> <Radio label="Success" color="success" checked="true" /> <Radio label="Error" color="error" checked="true" /> <Radio label="Secondary" color="secondary" checked="true" /> <Radio label="Primary" color="primary" checked="true" /> <Radio label="Info" color="info" checked="true" /> <Radio label="Tertiary" color="tertiary" checked="true" /> <Radio label="Accent" color="accent" checked="true" />