A component used for binary input (checked/unchecked). Can also be disabled and comes in two sizes.
Base API
Section titled “Base API”Switch is based on Chakra UI Switch. See API-reference for Chakra UI Switch.
Base example
Section titled “Base example”import { Switch } from "@caspeco/casper-ui-library";
export default function Demo() { return <Switch onCheckedChange={console.log} />;}