Components
Segmented Control
Pick one of a few options that sit side by side.
Details
Pick one of a few options that sit side by side. Content-sized segments on a field track, with a surface thumb that slides to the selected one. It is a radio group: one tab stop, arrow keys move and select. Behaviour comes from the Zag radio-group machine, through Ark UI's SegmentGroup in React, Vue and Svelte. Without JavaScript the native radios still work and the selected segment paints itself.
Behaviour from Ark UI, the radio-group machine of Zag.