zynactradocs

Switch

Turn a setting on or off immediately. Square track, square thumb.

Usage

import { Switch } from "@zynactra/ui/switch"
<Switch />

Guidelines

  • A switch takes effect at once. If the change needs a Save button, use a Checkbox instead.
  • On is ink.

API reference

Behaviour and props come from Base UI. See the Base UI Switch docs.

Edit on GitHub

On this page