Auth

OTP Verification

Auth Pro

Join a workspace with an emailed code, a live expiry, a mail shortcut and a resend countdown. Wrong codes count down your attempts, and the right code seals the cells into the workspace’s tile.

About the OTP Verification 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, scrolling and typing. On a phone you feel a selection tick when you switch an option, a light tap on buttons, a firmer tap on bigger actions, an error buzz when something fails and a success pulse when the task completes.

  • Shows a loading state while work is in progress, without the layout jumping.
  • Handles errors in place, next to the thing that failed.
  • Keeps fields and actions above the on-screen keyboard.
  • Respects Reduce Motion: movement drops out and the feedback stays.

Make it yours

npx @lumioui/cli add pro/auth-otp-verification copies the screen into screens/auth/otp-verification.tsx along with the 5 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 is designed for a dark canvas, and runs on iOS and Android, including Expo Go.

Built from

  • ButtonPill button that presses down under your finger, in eight styles from solid to glass, with a built-in loading state that swaps in place while an action runs.
  • 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.
  • Keyboard AvoidingContainer that lifts your content above the on-screen keyboard on iOS, so fields and message bars never end up hidden behind it. On Android it leaves this to the system’s own resizing.
  • OTP InputOne-time code input with a focus ring that glides from box to box. Typing, paste and autofill all work, a wrong code flickers and clears, a right one turns into a check, and a resend timer is built in.
  • 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.

More in Auth

View all 34