RadioGroup
Svelte ComponentCapture feedback limited to a small set of options.
Import
Package
Source
Docs
WAI-ARIA
Examples
Selected 0
Selected horz
Usage
import { writable, type Writable } from 'svelte/store';
const storeLayout: Writable<string> = writable('horz');
<RadioGroup selected={storeLayout}>
<RadioItem value="horz">Horizontal</RadioItem>
<RadioItem value="vert">Vertical</RadioItem>
</RadioGroup>
Full Width Display
To set display width to 100% use display="flex"
<RadioGroup display="flex"></RadioGroup>