Sign in with phone, switch

Sign in with phone, switch is a Sign in block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Offering the methods as equals on one card, where each has its own short form

Anatomy

A segmented switch with a sliding thumb (phone, email, passkey) · a panel that morphs its height to the method · passkey draws a progress ring while the device asks, with Cancel beside the waiting button · Google and Apple stay underneath

MCPConnect the MCP server

Sign in

Pick how you would like to sign in.

or

In the Orvain Library

Get Sign in with phone, switch for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of Sign in

What’s inside

04parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. A segmented switchwith a sliding thumb (phone, email, passkey)
  2. A panelthat morphs its height to the method
  3. Passkey draws a progress ring while the device asks, with Cancel beside the waiting button
  4. Google and Apple stay underneath

Responsive behaviour

500 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where Sign in earns its place

Reach for Sign in

  • The account is a phone number, so a dial code and the digits have to be entered and validated as one value.
  • A code has to be confirmed after the password step, with a resend that cannot be hammered.
  • Sign-up and sign-in share a brand, a layout and the same set of third-party providers.
  • Password rules exist and the person should see which ones they have already met while typing.

Reach for something else

  • Re-confirming identity before a destructive action by someone already signed in: a small modal asking for the password alone interrupts far less than a full auth card.
  • Collecting profile details once the account exists. That is a form layout with a heading where the subject changes, not an authentication card.
  • A product with no password at all, only a mailed link: a single field and a button on the page beat a card whose rules, reveal and provider row have nothing to do.

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Sign in with phone, switch” block to this page: a segmented switch with a sliding thumb (phone, email, passkey), a panel that morphs its height to the method, passkey draws a progress ring while the device asks, with Cancel beside the waiting button, Google and Apple stay underneath.

Works in
Connect the MCP

Questions about Sign in with phone, switch.

What is the Sign in with phone, switch block?

Sign in with phone, switch is a Sign in block from Orvain UI, built for React and Vue with a matching Figma frame. Best for offering the methods as equals on one card, where each has its own short form.

What is the Sign in with phone, switch block made of?

Is the Sign in with phone, switch block responsive?

Is the Sign in with phone, switch block accessible?

How do I add the Sign in with phone, switch block to my project?

When should I not use a Sign in block?

More Sign in blocks

All Sign in

Sign in with phone

Signing in where the account is a phone number, with a way out for every way it can go wrong

Sign in with phone, code

Signing in with no password: the number turns into the code, and other methods wait one tap away

Sign up with phone

Opening an account on a phone number, where the number is confirmed before the account exists

Sign up with phone, steps

A sign-up that asks one thing at a time and says how far along it is

Sign up with phone, receipt

A sign-up that stays short: each answer folds into a row the person can still edit

Verify identity

The code step after a sign-in, with a way forward when the text never comes

Verify identity, arrives

Showing what a one-time-code autofill does on a phone, so the code step feels finished before the person types

Verify identity, routes

A code step where every other way of getting the code is already on the card

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.