Buttons
Toggle Button
This component is a generic button for displaying on and off states on press.
This page is not ready yet, we’re working on getting it done for the 1.0 release. It should be available soon! In the meantime, feel free to use the API reference tables below.
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).
Data Attributes
Section titled Data AttributesPrevious
Next