The InteractiveDetails component is a utility component used to display labels and descriptions for interactive form elements such as checkboxes and radio buttons. It provides consistent styling and behavior for these elements.
The InteractiveDetails component is primarily used as a building block for form controls like Checkbox, RadioButton and Switch to provide consistent labeling and description functionality.
Add a help tooltip to provide additional information about the form control.
A control beside InteractiveDetails should be named by its label alone, and described by its description. Checkbox, Switch and RadioButton already do this; for a control of your own, note that id covers the whole block, help button included, and point the control at the two texts instead: labelId goes on the label text and descriptionId on the description.