Radio inputs can have different colors. Use the color
prop to change the color of the radio button component.
Show codeHide code
Radio inputs can have non standard colors. Use the classes
prop to implement custom color classes from Tailwind CSS.
Show codeHide code
Name
Type
Default
id
The form input identifier.
Show exampleHide example
value
The value of the radio input.
Show exampleHide example
label
The label for the radio input.
Show exampleHide example
error
An error message to display below the radio label.
Show exampleHide example
color
The color of the radio. Can be 'default', 'primary', 'info', 'success', 'warning', or 'danger'
Show exampleHide example
classes
Classes to apply to the various parts of the radio input.