Choice Group

Composable choice group with the selected Lily design style.

Large

Installation

npx lily-svelte@latest add choice-group

Installs the style saved in lily.json. For a new Diamond project, run lily-svelte init --style diamond first.

Usage

<ChoiceGroup bind:value
	><ChoiceGroupItem value="all">All</ChoiceGroupItem><ChoiceGroupItem value="saved"
		>Saved</ChoiceGroupItem
	></ChoiceGroup
>

The installed source follows the style in lily.json. The composition preview includes other Lily components; install those separately when building the complete example.

Built by levish. The source code is available on GitHub.

Quiet by design.