Switch account, flip

Switch account, flip is a Dropdowns block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Switchers that show the swap: the picked mark flies into the header

Anatomy

Switching keeps the card open · the picked mark travels up while the old one drops into its row · ⌘1 to ⌘3 switch while open · Refresh morphs into an Up to date pill

MCPConnect the MCP server

In the Orvain Library

Get Switch account, flip 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 Dropdowns

What’s inside

04parts

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

  1. Switching keeps the card open
  2. The picked mark travels up while the old one drops into its row
  3. ⌘1 to ⌘3 switch while open
  4. Refresh morphs into an Up to date pill

Responsive behaviour

640 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 Dropdowns earns its place

Reach for Dropdowns

  • A form field whose answer comes from a known, short list
  • Actions that belong to one object and don't earn toolbar space
  • The avatar menu: settings, support, the plan, the way out
  • Filters where several options get set in one visit

Reach for something else

  • More options than anyone will scroll: a combobox with type-ahead finds them faster
  • Two or three exclusive choices: radio buttons show them all without a click
  • The one action a screen exists for. That belongs on a visible button

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 “Switch account, flip” block to this page: switching keeps the card open, the picked mark travels up while the old one drops into its row, ⌘1 to ⌘3 switch while open, Refresh morphs into an Up to date pill.

Works in
Connect the MCP

Questions about Switch account, flip.

What is the Switch account, flip block?

Switch account, flip is a Dropdowns block from Orvain UI, built for React and Vue with a matching Figma frame. Best for switchers that show the swap: the picked mark flies into the header.

What is the Switch account, flip block made of?

Is the Switch account, flip block responsive?

Is the Switch account, flip block accessible?

How do I add the Switch account, flip block to my project?

When should I not use a Dropdowns block?

More Dropdowns blocks

All Dropdowns

Dropdown field

Forms: a labelled, required field that opens its list in a popover card

Command menu

Command palettes: type to filter, press to run, chords that run from anywhere

Pop-up list

Menus where each entry needs a line of explanation, shown only for the row you are on

Model picker

Choosing which models answer: Auto, or one or more

Model picker, compare

Choosing one model, or comparing up to three side by side

Model picker, search

Long model catalogues: filter, group by provider, hold the picks in the field

Take action

Long action sheets: grouped actions that run and confirm

Action menu, filter

Action menus long enough to need a search

Account menu

The avatar menu: settings, support, the plan with its usage and the way out

Account menu, upgrade

Account menus where the plan can be changed without leaving the menu

Account menu, drill-in

Short account menus whose details open as their own panes

Switch account

Multi-account apps: the accounts you can switch to, in rows

Switch account, rail

Switchers with few accounts: every account a mark on a capsule

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.