# Account Switcher

Switch between mail accounts from a sheet over your inbox, the others each showing their unread count. Pick an account and its avatar travels up into the search bar while the inbox rebuilds for that account.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/auth-account-switcher
```

## Import

```tsx
import { AccountSwitcherScreen } from "@/screens/auth/account-switcher";
```

## Registry dependencies

- `animated-number` — /components/animated-number
- `avatar` — /components/avatar
- `icon` — /components/icon
- `text` — /components/text

## Native packages

- react-native-reanimated@*
- react-native-safe-area-context@*
- react-native-svg@*

## Icons rendered

- `search` — /icons.html?i=search
- `user-plus` — /icons.html?i=user-plus
- `settings` — /icons.html?i=settings
- `log-out` — /icons.html?i=log-out
- `mail` — /icons.html?i=mail

Source: https://lumioui.com/screens/auth-account-switcher