Inputs and selection

Switch

settings on/off

Switch

Usage

Settings-style on/off. For an action, use Toggle instead.

API

<Switch checked onCheckedChange />

Get it

Already in every copy of the native kit:

import { Switch } from '@/components/ui/switch';

Details

Exports
Switch
Packages
@rn-primitives/switch@^1.5.2
Installs with
@halftone-native/label, @halftone-native/lib-utils
Also searched as
toggle, on off

Agents: the whole registry is at /llms.txt.