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 | Sets the input's name attribute. | string |
disabled | Prevents interaction. | boolean |
error | Adds an error message below the toggle. | string |
hint | Adds a hint below the toggle. | string |