Component

Switch

Themed native switch with a label and subtitle.

Switch as rendered in the Native-UI Storybook

What it does

  • Whole row tappable
  • Light haptic
  • Label read with subtitle

Import

import { Switch } from '@polprog/native-ui';

The same module is available as a direct import:

import { Switch } from '@polprog/native-ui/components/Switch';

Open in Storybook View source

Related components

← All components

Expo React Native 0.84+ iOS Android TypeScript Accessible