Radio
Radio buttons allow the user to select one option from a set.
Installation
npx jsx-daisyui add radioDefault
radio-default
Sizes
radio-sizes
Colors
radio-colors
Disabled
radio-disabled
Props
Radio
| Prop | Type | Default | Description |
|---|---|---|---|
color | 'neutral' | 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | - | The color of the radio button. |
size | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'md' | The size of the radio button. |