Usage
Toggle is a button that switches between active and inactive states:
Controlled and uncontrolled
Set defaultActive for an uncontrolled Toggle, active and onActiveChange props to control it:
Auto width
By default, Toggle is a square button. Set autoWidth to fit the width to the content:
Configurator
Variant
Color
Size
Radius
Accessibility
Give an icon-only toggle a label that stays the same when its state changes: