InputGroup
The InputGroup component is a powerful tool for managing groups of InputCheckbox (opens in a new tab) or InputRadio (opens in a new tab) components, ensuring that labels and hints are properly rendered and that group name
, required
and disabled
states are consistently applied. This enhances the overall user experience and accessibility of your forms.
Group API
Mandatory name
prop is applied to all child inputs. There are also optional required
adn disabled
props, which are applied in the same manner.
💡️
For detailed examples, refer to the Storybook documentation (opens in a new tab).
Example with InputCheckbox
Allows multiple selection.
Example with InputRadio
Allows single selection.