ReadonlyanimateWhether to animate the selection pill sliding between segments.
Defaults to true.
ReadonlyariaAccessible label for the radiogroup.
ReadonlydisabledDisable the entire control.
ReadonlyitemsItems to render as segments.
ReadonlyvalueThe id of the currently active segment (two-way).
An iOS-style segmented control — a compact row of mutually exclusive option buttons. Suitable for 2–5 options where a full tab group would be too heavy.
Bind
[(value)]to track the active segment id. The selection pill slides smoothly between segments by default; set[animateSelection]="false"to disable the animation.Example