EXEPERTAI LAB
GALLERY / COLLECTION
← Browse gallery
Forms·@exepert/ui / Switch

Switch

A binary setting for an immediate on or off choice.

Variants and states

3 copy-ready examples

On state

An enabled preference uses an affirmative label.

Starting preview…
import { Switch } from "@exepert/ui";
import "@exepert/ui/styles.css";
export default function Example() {
  return (
    <Switch defaultChecked label="Show live traces" />
  );
}