Segmented Control
A 40px track of two or three segments where exactly one is chosen, under an optional field header. The chosen segment is a white skeuomorphic face; segments show a glyph, a label, or both.
This is a hint text to help user.
Showing Home
Add an icon-only Orvain Segmented Control under the header “Field Title”, required, with the hint “This is a hint text to help user.”; 3 segments: Home (selected), Shared and Archive.
When to use#
- To switch between two or three views of the same content: list and grid, day and week.
- For a setting whose options are short and read best side by side.
When not to use
- Use a Radio group for options that need descriptions.
- Use a Tab Menu for sections with their own content and more than a few labels.
Anatomy#
The field label, a red * and a hint line, 6px above the track.
300 wide, 40 tall, 4px in and apart, radius 12, a 4% wash.
32 tall, radius 8, sharing the width equally: a 28px glyph, a Satoshi Bold 12 label, or both.
White with a 1px #f2f2f2 ring and a soft layered drop.
A lighter 132px item on its own: radius 6, Medium 14, a 1px stroke and a 2px drop when chosen.
States#
Icon, Label, or Icon + Label.
The white face, text #2a2a2a.
The text darkens; Items take a white wash.
Text #cbcbcb; the chosen face keeps its colour and loses its lift.
Source#
The Segmented Control ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.
Used in these blocks

