Switch
A switch is a form control that allows users to toggle between two states.
API DocumentationImport
import { Switch } from "@aeonkit/react";Usage
Default
Use the Switch component to create a switch. Use the Switch.Thumb component to create the thumb.
<Switch> <Switch.Thumb /></Switch>Props
API Interface: SwitchProps
API Interface: SwitchThumbProps