Buttons
Toggle Button
This component is a generic button for displaying on and off states on press.
API Reference
Section titled API ReferenceHTMLAttributes<HTMLButtonElement>
Ref<HTMLButtonElement>
A toggle button is a two-state button that can be either off (not pressed) or on (pressed).
Props
Section titled PropsData Attributes
Section titled Data AttributesPrevious
Next