Radio Group
Radio groups allow users to select a single option from a set of mutually exclusive choices.
Installation
npm install @libretexts/davis-react
Basic Usage
import { RadioGroup } from '@libretexts/davis-react';
export default function Example() {
return (
<RadioGroup
name="plan"
label="Select a plan"
options={[
{ value: 'basic', label: 'Basic' },
{ value: 'pro', label: 'Pro' },
{ value: 'enterprise', label: 'Enterprise' },
]}
/>
);
}
Documentation in Progress
Full documentation for this component is being written. Check back soon for complete API reference, examples, and accessibility guidelines.