Toggle
A two-state button that can be toggled on or off.
Installation
Add the component to your project using the following command:
Usage
Import
Import the component and its related parts.
Structure
The expected structure and composition of the component.
Props
Each component part, its responsibility, and the props it exposes.
<Toggle>
The toggle component.
Base behavior is provided by Base UI Toggle. Refer to its documentation for the full API.
Name
Default
Options
`variant`
`default`
`default``plain`
`size`
`md`
`sm``md``sm-icon``md-icon`