1. components
  2. segment control
  3. svelte

Segment Control

Capture input for a limited set of options.

This component wraps native radio inputs, which enables it to operate as as a form control.

Disabled

Set disabled to any item to disable focus and interaction.

Vertical

Set flexDirection to enable a vertical layout. This can be controlled with responsive breakpoints.

Alternative

Consider using a Button Group if you need direct control over the markup and styling.