Skip to components
DEVELOPER REFERENCE · v4.0.0

IconToggleButton API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

IconToggleButton3 props1 callbacks0 methods

Props3

IconToggleButton props
NameTypeDescription
valueRequiredbooleanValue to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
labelRequiredstringLabel content or accessible name for the component, as rendered by this control.
iconRequiredstringIcon content for the component. When the type is string, supply trusted SVG markup.

Events and callbacks1

IconToggleButton events and callbacks
NameTypeDescription
onChangeRequired
(value: boolean) => voidInspect type
Receives the new value when the user changes the control. Update the corresponding value prop for controlled use.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.