# Profile — React Native screen for Expo

Account profile for any app: a centred header (avatar, name, badge, email · phone, Edit profile), a highlights strip, then iOS-style grouped rows for personal details, account, preferences and support, and a sign-out button. Monochrome by default; sections rise in smoothly and respect Reduce Motion.

- Docs: https://expokit.in/docs/blocks/profile
- Tier: Pro (ExpoKit Pro plan)
- Also called: profile screen, user profile page, account screen
- Category: Blocks
- Platforms: iOS, Android, web
- Expo Go: yes, no development build needed
- npm dependencies: react-native-svg
- Uses ExpoKit items: kit
- Variants: Default, Shopping App, Custom Accent

## 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?, phone?, avatar?, subtitle?, badge? }` | `Aarav Mehta` | Who the account belongs to. subtitle is a muted line (e.g. 'Member since 2023'); badge shows a chip next to the name (e.g. 'Pro'). |
| `stats` | `{ label, value, onPress? }[]` | `Orders / Wishlist / Reviews` | Highlights strip under the header. Pass [] to hide. |
| `details` | `{ key, label, value?, icon? }[]` | `Date of birth, Address` | “Personal details” rows (name, email and phone already show in the header). Empty value shows a muted “Add”. Pass [] to hide. |
| `sections` | `{ title?, items: { key, label, value?, icon?, badge?, destructive?, onPress? }[] }[]` | `Account, Preferences, Support` | Grouped rows below the details. destructive rows are red with no chevron. |
| `title` | `string` | `'Profile'` | Header title. |
| `onEditProfile` | `() => void` | — | Shows a small 'Edit profile' pill under the contact details. |
| `onAvatarPress` | `() => void` | — | Makes the avatar pressable and adds a camera badge. |
| `onRowPress` | `(key: string) => void` | — | Any detail or section row was pressed (after the item's own onPress). |
| `onSignOut` | `() => void` | — | The destructive 'Sign out' row at the end was pressed. |
| `onBack` | `() => void` | — | Shows a back button in the header. |
| `accent` | `string` | `theme accent` | Badge chip and pressed-state tint. Everything else stays monochrome. |
| `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 profile screen in React Native?

Use ExpoKit's Profile, a Pro screen: with ExpoKit Pro, the ExpoKit CLI copies a ready-made profile 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 Profile work in Expo Go?

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

### How do I add Profile 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, so the code is yours to change. The install command is on this page for Pro members.

### Is Profile free?

Profile 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 Profile 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/profile
- 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
