Actions

Toggle

pressed two-state button

Toggle

API

<Toggle pressed onPressedChange><ToggleIcon as={…} /></Toggle>

Get it

Already in every copy of the native kit:

import { Toggle } from '@/components/ui/toggle';

Details

Exports
Toggle
Packages
@rn-primitives/toggle@^1.5.2, class-variance-authority@^0.7.1
Installs with
@halftone-native/icon, @halftone-native/lib-utils, @halftone-native/text
Also searched as
pressed, two-state button

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