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
idThe form input identifier.
Show exampleHide example
valueThe value of the radio input.
Show exampleHide example
labelThe label for the radio input.
Show exampleHide example
errorAn error message to display below the radio label.
Show exampleHide example
colorThe color of the radio. Can be 'default', 'primary', 'info', 'success', 'warning', or 'danger'
Show exampleHide example
classesClasses to apply to the various parts of the radio input.