L
LocalMode

Segmented Mode Picker · LocalMode

A pill toggle for 2–4 mutually-exclusive named modes (ring-bordered container, active item tinted + ringed), plus a typed TabBar variant with disabledTabs gating. Fully controlled, generic over the id type. Covers OCR content-type, summary length, translation formality, browse/inspect modes.

npx shadcn@latest add https://localmode.ai/r/ui/input-controls/segmented-mode-picker.json
Preview Segmented Mode Picker on LocalMode's site (opens in a new tab)
Loading the source for ui/input-controls/segmented-mode-picker…

ui/input-controls/segmented-mode-picker