Radio
Radio buttons are for choosing one of multiple predefined inputs.
- Useful links:
StrataKit MUI modifications
Section titled “StrataKit MUI modifications”- The
colorprop is not supported. Color is determined automatically based on state (e.g., checked, disabled, error). - The
sizeprop defaults to"medium"and does not support"small". - The radio implementation and styling differ from the default
svgapproach and use custom pseudo-elements. - The interactive hit area extends beyond the visual bounds of the radio. The additional hit area does not consume layout space, so be mindful when placing the radio next to adjacent elements or container boundaries.
- Includes full
forced-colorssupport.
Examples
Section titled “Examples”Use the error prop on FormControl to display the FormHelperText in an error state. Consider adding a visually hidden “Error:” prefix to the FormHelperText if the error message is not clear on its own.