Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Variable RadioGroupWidgetConst

    RadioGroupWidget: {
        Radio: (props: Radio.Root.Props) => Element;
        Root: <T extends string>(props: RadioGroupWidgetRootProps<T>) => Element;
    } = ...

    A radio group as compound parts, the selection kept through @practic/persist: Root (the group) stores it and Radio offers a value; its indicator is the styled Radio.Indicator. Each radio is labelled by the caller.

    Type Declaration

    <RadioGroupWidget.Root aria-label='Plan' data-key='practic_app_plan' data-attr='value'>
    <label>
    <RadioGroupWidget.Radio value='free'><Radio.Indicator /></RadioGroupWidget.Radio>
    Free
    </label>
    </RadioGroupWidget.Root>