Skip to content

Switch

A switch is a form control that allows users to toggle between two states.

API Documentation

Import

Terminal window
import { Switch } from "@aeonkit/react";

Usage

Default

Use the Switch component to create a switch. Use the Switch.Thumb component to create the thumb.

Props

API Interface: SwitchProps