Module / v1.0.0-beta.13

@typed/ui/RadioGroup

11 unique exports available through this public import path, including their members and aliases.

Learn this UI primitive →

import * as RadioGroup from "@typed/ui/RadioGroup";

Component options

  • ItemOptions

    interface

    One native choice with stable element ID, application value, and native group name.

  • RootOptions

    interface

    State, optional navigation collection, child content, and group name.

Hydration schemas

  • StateSchema

    variable

    Effect Schema used by makeState to encode, decode, and hydrate RadioGroup state.

Native controls

  • Item

    function

    Renders one native radio input and optionally registers it for group navigation.

  • RadioGroup

    variable

    Alias of Root.

  • Root

    function

    Renders a named radiogroup around native radio items.

State construction

  • makeCollection

    variable

    Creates a scoped Collection for RadioGroup items.

  • makeState

    function

    Creates hydrated radio selection with a required value, null active ID, and looping enabled by default.

State models

  • InitialState

    interface

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

  • State

    interface

    Selected choice plus the active element used for keyboard movement.

State transitions

  • setValue

    function

    Sets the selected value and optionally the active element ID.