@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    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.

    <ui-segmented-control
    [items]="views"
    [(value)]="activeView"
    />
    Index

    Constructors

    Properties

    Constructors

    Properties

    ariaLabel: InputSignal<string> = ...

    Accessible label for the radiogroup.

    disabled: InputSignal<boolean> = ...

    Disable the entire control.

    items: InputSignal<SegmentedItem[]> = ...

    Items to render as segments.

    value: ModelSignal<string> = ...

    The id of the currently active segment (two-way).