ba-filter-radio

A radio filter component

Figma GitHub Storybook

Must be used with ba-filter

This component should not be used on its own. Always use it within ba-filter to ensure correct spacing and layout

ba-filter

This component is for when only one item at a time can be selected. If you need multi select, use ba-filter-checkbox instead.

Always use the label attribute to give a meaningful label to the field.

Further reading:

Code

Properties & Attributes

Property Attribute Description Type Default
label (required) label Text displayed next to the radio string undefined
value value The value of the radio string | undefined ''

Slots

Slot Description Permitted elements
Unnamed slot Elements will render in the body of the component <ba‑star‑rating>

Parent components

ba-filter-radio can be slotted into:

Usage

See ba-toolbar for usage examples.

GitHub Storybook Figma library Version 3 release guide Release history BAgel helper QA process