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.
About the Account Switcher screen
Sign-in, sign-up and account recovery for React Native apps, from a minimal ink login to biometric setup and account switching. Each one handles the keyboard, validation and the moment the user gets in. This is one of 34 auth screens.
How it behaves
It responds to taps and drags. On a phone you feel a light tap on buttons, a selection tick when you switch an option and a warning buzz when something can't be done yet.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/auth-account-switcher copies the screen into screens/auth/account-switcher.tsx along with the 4 components it uses, so the source is yours to edit.
It's shown in neutral ink: wrap it in an <Accent> to give it your brand colour. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- Animated NumberNumber that moves to each new value as a calm count-up or a roll where only the changed digits turn, set in type or in dot-matrix LEDs whose dots switch on in place. Screen readers announce just the final value, not every step.
- AvatarCircular profile image with fallback initials and a presence dot. An optional mode shows presence on the photo itself, bright when online and faded when away or offline.
- IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
- TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.