ValarSvelte

Radio Group

A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.

Docs API Reference

Default

Description

Radio group items with a description using the Field component.

Choice Card

Use Field.Label to wrap the entire Field.Field for a clickable card-style selection.

Fieldset

Use Field.Set and Field.Legend to group radio items with a label and description.

Disabled

Use the disabled prop on RadioGroup.Item to disable individual items.

Invalid

Use aria-invalid on RadioGroup.Item and data-invalid on Field.Field to show validation errors.