Inputs and selection

Switch

Available forNativeWeb

settings on/off

The native kit's real component, live in its web build at phone width. Follows this site's theme.

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
@kit-native/label, @kit-native/lib-utils
Also searched as
toggle, on off

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