A switch control that allows users to turn an option on or off.
| Property | Description | Type |
|---|---|---|
checked | Changes the status of the toggle to on. | boolean |
label | Adds a label beside the toggle button. | string |
name | Provides the name attribute to the element attribute. | string |
disabled | Makes the toggle inaccessible. | boolean |
error | Adds an error message below the toggle. | string |
hint | Adds a hint below the toggle. | string |