Skip to main content
Pricing

Segmented Control

Pro

A pill-shaped toggle for switching between 2–4 mutually exclusive options. Used for view switching (Grid/List), density controls (Compact/Default), and filter toggles. Not a form input — use Radio for form submissions.

8 variants

Size
Grid
List
Board

Variants

VariantDescriptionWhen to use
2-segment
3-segment
4-segment

Usage Guidelines

Do

Use for switching between views or display modes.

Don't

Use for form field selection — use Radio buttons instead.

Do

Limit to 4 options maximum.

Don't

Exceed 4 segments — use Tabs for more options.

Do

Make the active segment visually distinct with a sliding indicator.

Don't

Mix with Tab navigation in the same context.

Code

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Design Tokens

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Accessibility

  • Uses role="radiogroup" with individual role="radio" items.
  • Active item has aria-checked="true".
  • Arrow keys navigate between options; selection is immediate.

Keyboard Interactions

ArrowLeft/ArrowRightMoves selection between segments.
TabMoves focus into/out of the control as a group.