Components
RadioGroup
Documentation for the RadioGroup component.
RadioGroup
Preview
Subscription Type
The RadioGroup component is built with React Aria and styled using StyleX.
Import
import { RadioGroup } from '@moul-dev/ui';Usage
Here is a basic example of how to use the RadioGroup component:
import { RadioGroup } from '@moul-dev/ui';
export default function Example() {
return (
<RadioGroup>
{/* Component content */}
</RadioGroup>
);
}Props
RadioGroup Props
Prop
Type
Default className: react-aria-RadioGroup
| Render Prop | CSS Selector |
|---|---|
isDisabled Whether the group is disabled. | [data-disabled] |
isInvalid Whether the group value is invalid. | [data-invalid] |