@antadesign/anta
    Preparing search index...

    Function RadioGroupUnreviewed

    • <RadioGroup> — a single-select radio control, rendered from options.

      This wrapper is convenience over the web components: it renders an <a-radio> per option and manages the two declarative DOM concerns the elements deliberately do not touch: the roving tabindex (so keyboard Tab lands on the right option) and each radio's role. Selection itself lives in <a-radio-group> off-DOM (it sets each radio's selected property), so the elements never mutate the DOM; this wrapper just reflects the current value into tabindex on re-render. (Hand-assembling raw <a-radio-group> / <a-radio> also works — see the element docs — this wrapper is the ergonomic path.)

      Controlled (value + onStateChange) or uncontrolled (defaultValue); either way the wrapper holds the value so it can compute the roving tabindex.

      Requires @antadesign/anta/elements (client-side only).

      Parameters

      Returns any