Skip to Content
Selection & Dates@hacline/ui/segmented-control

SegmentedControl

Choose one option from a visible row or column of segments.

Usage

Click or press arrow keys to change the reporting window. The indicator slides to track selection, and the root value can drive sibling content.

Vertical Orientation & Disabled Options

Arrange options vertically and navigate across available density levels with Up/Down arrow keys.

Parts

PartDescription
SegmentedControlIndicator
Sits behind the checked item. Its box comes from the --segmented-control-indicator-* variables, measured from the root.
SegmentedControlItem
One option, and the hidden native radio that takes part in the form.

Props

Prop

Type

View UI SDK parts and state attributes.