Segmented control, preview

Segmented control, preview is a Tabs block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

A choice that is about layout, where seeing it beats reading it

Anatomy

The field and capsule with a small sketch under them that rearranges: rows for List, columns for Board, bars for Timeline · the same eight blocks travel between layouts · the footer names what changes

MCPConnect the MCP server
Default view (Optional)

Choose how tasks are laid out when the project opens.

Opens as a list, sorted by due date.

In the Orvain Library

Get Segmented control, preview 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 Tabs

What’s inside

03parts

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

  1. The field and capsulewith a small sketch under them that rearranges: rows for List, columns for Board, bars for Timeline
  2. The same eight blocks travel between layouts
  3. The footer names what changes

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 Tabs earns its place

Reach for Tabs

  • Two to five peer views of one object, switched in place with no change of address.
  • A panel whose heading, meta and primary action must hold still while the content beneath them changes.
  • A field with two or three short options that shape what it shows: a segmented control rather than full tabs.
  • A dense toolbar where the options are short enough to sit side by side without truncating.

Reach for something else

  • Views that have to be completed in order: a stepper announces the sequence, where tabs promise peers you can visit in any order.
  • Content people need to compare, print or search across: stacked sections with headings keep all of it findable, while tabs hide every panel but one, including from in-page search.
  • Anything that changes the address or what the primary action does. That is navigation, and it belongs in a nav or a tab menu.

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 “Segmented control, preview” block to this page: the field and capsule with a small sketch under them that rearranges: rows for List, columns for Board, bars for Timeline, the same eight blocks travel between layouts, the footer names what changes.

Works in
Connect the MCP

Questions about Segmented control, preview.

What is the Segmented control, preview block?

Segmented control, preview is a Tabs block from Orvain UI, built for React and Vue with a matching Figma frame. Best for a choice that is about layout, where seeing it beats reading it.

What is the Segmented control, preview block made of?

Is the Segmented control, preview block responsive?

Is the Segmented control, preview block accessible?

How do I add the Segmented control, preview block to my project?

When should I not use a Tabs block?

More Tabs blocks

All Tabs

Grouped tabs

Page-level view switching: 2 to 5 peer views of one object, switched in place

Grouped tabs, counts

Views that carry how many items they hold, where acting on an item moves it to another view

Grouped tabs, priority

More views than a row can hold, without wrapping or scrolling the tab list

Tabs in place

The test the page leads with: a control that re-renders one region and leaves the page alone

Tabs in place, underline

Page-level tabs in a header, for views that load: Activity, Members, Billing

Tabs in place, morph

Views of very different heights, where the panel should say which way the choice went

Segmented control

Two or three short options that shape one field or a dense toolbar

Segmented control, toolbar

A dense toolbar that switches the view under it between layouts

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.