# Settings — React Native screen for Expo

An iOS-style grouped settings screen: profile header with a Pro badge, System / Light / Dark picker, animated switches, chevron rows with details and a destructive sign-out row.

- Docs: https://expokit.in/docs/blocks/settings
- Tier: Pro (ExpoKit Pro plan)
- Also called: settings screen, preferences page, settings list
- Category: Blocks
- Platforms: iOS, Android, web
- Expo Go: yes, no development build needed
- npm dependencies: react-native-svg, expo-haptics
- Uses ExpoKit items: kit, avatar, badge, segmented-control, switch
- Variants: Default, Controlled

## Installation

This screen is part of ExpoKit Pro. With a Pro plan, log the CLI in once and add it like any other item:

```bash
npx @expokit/cli@latest login
```

Plans: https://expokit.in/pricing

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `user` | `{ name, email, avatar?, plan? }` | `sample user` | Profile header. plan shows a badge (e.g. 'Pro'). |
| `values` | `SettingsValues` | — | Controlled values: appearance, pushNotifications, emailDigest, haptics, faceId. |
| `defaultValues` | `Partial<SettingsValues>` | — | Initial values when uncontrolled. |
| `onChange` | `(values, key) => void` | — | Called on every change with the full values and the key that changed. |
| `onNavigate` | `(link: 'profile' \| 'subscription' \| 'privacy' \| 'storage' \| 'help' \| 'feedback') => void` | — | A chevron row or the profile header was pressed. |
| `onSignOut` | `() => void` | — | Pressed Sign out. |
| `onBack` | `() => void` | — | Shows a back button above the title, e.g. when Settings is pushed from a profile tab. |
| `storageUsed` | `string` | `'1.2 GB'` | Detail on the Data & storage row. |
| `version` | `string` | `'Version 2.4.1 (412)'` | Footer line. Empty string hides it. |
| `accent` | `string` | `theme accent` | Switch and badge colour. |
| `style` | `StyleProp<ViewStyle>` | — | Root style. |
| `className` | `string` | — | Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. |

## FAQ

### How do I make a settings screen in React Native?

Use ExpoKit's Settings, a Pro screen: with ExpoKit Pro, the ExpoKit CLI copies a ready-made settings screen into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.

### Does Settings work in Expo Go?

Yes. Settings runs in Expo Go on iOS and Android with no development build — its packages (react-native-svg, expo-haptics) are all included in Expo Go.

### How do I add Settings to my Expo app?

With ExpoKit Pro, add it with the ExpoKit CLI: it copies the screen's source into your app and installs react-native-svg, expo-haptics, so the code is yours to change. The install command is on this page for Pro members.

### Is Settings free?

Settings is part of ExpoKit Pro. With a Pro plan, log the CLI in once and it installs the full source into your app.

### Can I change how Settings looks?

Yes. It takes its colours, radius and light / dark mode from useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit screen. The code lives in your project, so you can also edit anything directly.

## More

- Live preview, variants and code: https://expokit.in/docs/blocks/settings
- Every ExpoKit component, screen, template and chart: https://expokit.in/llms.txt
- Install commands and props for every free component: https://expokit.in/llms-full.txt
- Pricing: https://expokit.in/pricing
