# React Native profile screen (Pro)

> A React Native profile screen for iOS, Android and the web: picture, bio and counts, Follow or Edit profile, and posts in a grid beside an About tab, with an empty state.

# Profile Pro

A person's page: picture, name and handle, a bio and location, their counts, **Follow** (or **Edit profile** on your own), and their posts in a grid beside an **About** tab. With no posts it shows an empty state instead of a blank grid.

```tsx
import { ProfileScreen } from '@patine-ui/pro';
```

```tsx live device
import { PROFILE_POSTS, PROFILE_STATS, PROFILE_USER, ProfileScreen } from '@patine-ui/pro';

export default function Example() {
  return <ProfileScreen user={PROFILE_USER} stats={PROFILE_STATS} posts={PROFILE_POSTS} onFollow={() => {}} />;
}
```

## Make it yours

| Prop | Type | Default |
| --- | --- | --- |
| `user` | `{ name, handle, bio?, avatar?, location? }` | **Required** |
| `stats` | `{ label, value }[]` | None |
| `posts` | `{ id, title, image? }[]` | None: the empty state |
| `own` | `boolean`: shows Edit profile instead of Follow | `false` |
| `onFollow`, `onEdit`, `onPostPress`, `onBack` | Callbacks | None |
| `labels` | `Partial<ProfileLabels>` | English |

Built from the free [Avatar](/docs/components/avatar), [Tabs](/docs/components/tabs), [Button](/docs/components/button) and [EmptyState](/docs/components/empty-state).

## In real apps

Every complete app has its own version of this screen, wired to its auth, data and settings: see the [templates](/templates).

## Related

- [Settings](./settings) PRO
- [Activity feed](./activity-feed) PRO
- [All blocks](./overview)
