{
  "name": "radio-group",
  "componentName": "RadioGroup",
  "displayName": "RadioGroup",
  "regions": [],
  "functions": [
    {
      "name": "focus",
      "description": "Sets input focus onto the UI control.",
      "returnType": "void",
      "parameters": []
    }
  ],
  "properties": [
    {
      "name": "ariaControls",
      "type": "string",
      "optional": true,
      "description": "Adds `aria-controls` attribute to the radio group.\nIf the radio group controls any secondary content (for example, another form field), use this to provide an ID referring to the secondary content.",
      "formattedType": "string"
    },
    {
      "name": "ariaDescribedby",
      "type": "string",
      "optional": true,
      "description": "Adds `aria-describedby` to the component. If you're using this component within a form field,\ndon't set this property because the form field component automatically sets it.\n\nUse this property if the component isn't surrounded by a form field, or you want to override the value\nautomatically set by the form field (for example, if you have two components within a single form field).\n\nTo use it correctly, define an ID for each element that you want to use as a description\nand set the property to a string of each ID separated by spaces (for example, `\"id1 id2 id3\"`).",
      "formattedType": "string"
    },
    {
      "name": "ariaLabel",
      "type": "string",
      "optional": true,
      "description": "Adds `aria-label` to the group. If you are using this form element within a form field,\ndon't set this property because the form field component automatically sets the correct labels to make the component accessible.",
      "formattedType": "string"
    },
    {
      "name": "ariaLabelledby",
      "type": "string",
      "optional": true,
      "description": "Adds `aria-labelledby` to the component. If you're using this component within a form field,\ndon't set this property because the form field component automatically sets it.\n\nUse this property if the component isn't surrounded by a form field, or you want to override the value\nautomatically set by the form field (for example, if you have two components within a single form field).\n\nTo use it correctly, define an ID for the element you want to use as label and set the property to that ID.",
      "formattedType": "string"
    },
    {
      "name": "ariaRequired",
      "type": "boolean",
      "optional": true,
      "description": "Adds `aria-required` to the group.",
      "formattedType": "boolean"
    },
    {
      "name": "direction",
      "type": "string",
      "inlineType": {
        "name": "\"horizontal\" | \"vertical\"",
        "type": "union",
        "values": [
          "horizontal",
          "vertical"
        ]
      },
      "optional": true,
      "description": "Defines the direction in which the radio buttons are laid out.",
      "defaultValue": "'vertical'",
      "formattedType": "string"
    },
    {
      "name": "items",
      "type": "ReadonlyArray<RadioGroupProps.RadioButtonDefinition>",
      "optional": true,
      "description": "Specifies an array of radio buttons to display. Each of these objects have the following properties:\n\n- `value` (string) - Sets the value of the radio button. Assigned to the radio group when a user selects the radio button.\n- `label` (ReactNode) - Specifies a label for the radio button.\n- `description` (ReactNode) - (Optional) Specifies descriptive text that appears below the label.\n- `disabled` (boolean) - (Optional) Determines whether the radio button is disabled, which prevents the user from selecting it.\n- `controlId` (string) - (Optional) Sets the ID of the internal input. You can use it to relate a label element's `for` attribute to this control.\n       In general it's not recommended to set this because the ID is automatically set by the radio group component.",
      "formattedType": "ReadonlyArray<RadioGroupProps.RadioButtonDefinition>"
    },
    {
      "name": "name",
      "type": "string",
      "optional": true,
      "description": "Specify a custom name for the radio buttons. If not provided, the radio group generates a random name.",
      "formattedType": "string"
    },
    {
      "name": "readOnly",
      "type": "boolean",
      "optional": true,
      "description": "Specifies if the whole group is read-only, which prevents the\nuser from modifying the value, but does not prevent the value from\nbeing included in a form submission. A read-only control is still focusable.",
      "formattedType": "boolean"
    },
    {
      "name": "style",
      "type": "RadioButtonProps.Style",
      "inlineType": {
        "name": "RadioButtonProps.Style",
        "type": "object",
        "properties": [
          {
            "name": "description",
            "optional": true,
            "type": "{ color?: { checked?: string | undefined; default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; } | undefined; }",
            "inlineType": {
              "name": "object",
              "type": "object",
              "properties": [
                {
                  "name": "color",
                  "optional": true,
                  "type": "{ checked?: string | undefined; default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; }",
                  "inlineType": {
                    "name": "object",
                    "type": "object",
                    "properties": [
                      {
                        "name": "checked",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "default",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "disabled",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "readOnly",
                        "optional": true,
                        "type": "string"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "name": "input",
            "optional": true,
            "type": "{ fill?: { checked?: string | undefined; default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; } | undefined; stroke?: { default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; } | undefined; circle?: { ...; } | undefined; focusRing?: { ...; }...",
            "inlineType": {
              "name": "object",
              "type": "object",
              "properties": [
                {
                  "name": "circle",
                  "optional": true,
                  "type": "{ fill?: { checked?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; } | undefined; }",
                  "inlineType": {
                    "name": "object",
                    "type": "object",
                    "properties": [
                      {
                        "name": "fill",
                        "optional": true,
                        "type": "{ checked?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; }",
                        "inlineType": {
                          "name": "{ checked?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; }",
                          "type": "object",
                          "properties": [
                            {
                              "name": "checked",
                              "optional": true,
                              "type": "string"
                            },
                            {
                              "name": "disabled",
                              "optional": true,
                              "type": "string"
                            },
                            {
                              "name": "readOnly",
                              "optional": true,
                              "type": "string"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "name": "fill",
                  "optional": true,
                  "type": "{ checked?: string | undefined; default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; }",
                  "inlineType": {
                    "name": "object",
                    "type": "object",
                    "properties": [
                      {
                        "name": "checked",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "default",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "disabled",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "readOnly",
                        "optional": true,
                        "type": "string"
                      }
                    ]
                  }
                },
                {
                  "name": "focusRing",
                  "optional": true,
                  "type": "{ borderColor?: string | undefined; borderRadius?: string | undefined; borderWidth?: string | undefined; }",
                  "inlineType": {
                    "name": "object",
                    "type": "object",
                    "properties": [
                      {
                        "name": "borderColor",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "borderRadius",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "borderWidth",
                        "optional": true,
                        "type": "string"
                      }
                    ]
                  }
                },
                {
                  "name": "stroke",
                  "optional": true,
                  "type": "{ default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; }",
                  "inlineType": {
                    "name": "{ default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; }",
                    "type": "object",
                    "properties": [
                      {
                        "name": "default",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "disabled",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "readOnly",
                        "optional": true,
                        "type": "string"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "name": "label",
            "optional": true,
            "type": "{ color?: { checked?: string | undefined; default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; } | undefined; }",
            "inlineType": {
              "name": "object",
              "type": "object",
              "properties": [
                {
                  "name": "color",
                  "optional": true,
                  "type": "{ checked?: string | undefined; default?: string | undefined; disabled?: string | undefined; readOnly?: string | undefined; }",
                  "inlineType": {
                    "name": "object",
                    "type": "object",
                    "properties": [
                      {
                        "name": "checked",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "default",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "disabled",
                        "optional": true,
                        "type": "string"
                      },
                      {
                        "name": "readOnly",
                        "optional": true,
                        "type": "string"
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
      },
      "optional": true,
      "description": "An object containing CSS properties to customize the radio group's visual appearance.\nRefer to the [style](/components/radio-group/?tabId=style) tab for more details.",
      "systemTags": [
        "core"
      ],
      "formattedType": "Object"
    },
    {
      "name": "value",
      "type": "string | null",
      "optional": false,
      "description": "Sets the value of the selected radio button.\nIf you want to clear the selection, use `null`.",
      "formattedType": "string | null"
    }
  ],
  "events": [
    {
      "name": "onChange",
      "description": "Called when the user selects a different radio button. The event `detail` contains the current `value`.",
      "cancelable": false,
      "detailType": "RadioGroupProps.ChangeDetail",
      "detailInlineType": {
        "name": "RadioGroupProps.ChangeDetail",
        "type": "object",
        "properties": [
          {
            "name": "value",
            "optional": false,
            "type": "string"
          }
        ]
      },
      "formattedDetailType": "RadioGroupProps.ChangeDetail {\n  value: string\n}"
    }
  ],
  "path": "/components/radio-group"
}