Radio

inprogress

    Overview

    When to use

    The Radio component is ideal for situations where users need to select a single option from a list of choices. It provides a visually clear and mutually exclusive selection mechanism.

    When to consider an alternative

    Consider using Checkboxes for scenarios where multiple selections are allowed or Toggles for binary on/off choices.


    Component

    Default

    States


    Properties

    Default

    PropertyTypeRequiredDefault
    utilClassNamesStringfalse-
    childrenNodefalse-
    componentRefShape
    { "current": "Any" }
    false-
    idStringfalse-
    nameStringfalse-
    valueStringfalse-
    onChangeFuncfalse-
    checkedBoolfalse-
    labelStringfalse-