Switch

A boolean toggle for on and off states.

Installation

import { Switch } from "@o/pipeline/experimental/components/switch";

Set the size prop to change the control’s dimensions:

<Switch size="lg" />

Usage

Default

Large