TrademarkTrademarkDocs
Ctrl k
Search docs...
Form Controls

InteractiveDetails

Updated: May 9, 2025
View on GitHub
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.
Prop
Type
Default
label
The main text.
React.ReactNode—
description
Supporting text under it.
React.ReactNode—
disabled
Dim it and block the click.
boolean—
iconButtonProps
Passed through to the info control.
IconButtonProps—
onClickrequired
Called when the text is clicked, so the label activates the control it belongs to.
() => void—
className
string—
id
Element id, for wiring to a control.
string—
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club