interface / @typed/ui/RadioGroup

InitialState

Required selected value with optional initial active ID and wrap policy.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
State models
Since
1.0.0

Import

import { InitialState } from "@typed/ui/RadioGroup";

Signatures

export interface InitialState {
    readonly value: string;
    readonly activeId?: string | null;
    readonly loop?: boolean;
}

Property: activeId

Id currently active for keyboard navigation; null means no active item.

Property: loop

Whether movement wraps between the first and last enabled items.

Property: value

Current semantic value selected or edited by the widget.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source