Choicebox
An enhanced version of Radio or Checkbox, designed to provide a larger tap target and additional information to the user.
Choicebox isn't a component by itself. It's a combination of
Checkbox
/RadioGroup
components. Neon has no exported member called
Choicebox
.
Usage
Title, description and Icon
Different from the Radio and Checkbox components, the Choicebox component allows you to add a title, description and icon to the component. This is useful when you want to provide additional information to the user.
Multi Select
The Choicebox component can also be used as a multi select component. This is useful when you want to allow the user to select multiple options from a list of options. It is on top of Checkbox
component.
Disabled
The Choicebox component can also be disabled. This is useful when you want to prevent the user from interacting with the component.