Solarus Design system
Updated · 20 Nov 2026 solarus.run
Base · Controls

Segmented control

Segmented control: a pill group, the active option filled with ink. For filters and small view switches with 2–3 short options; options may carry counts. Past three options use a select.

Code

// React · window.Solarus
<Seg options value onChange />

/* HTML classes · bundle.css */
.seg