# input
The **\** component provides a radio button to receive user input.
> **NOTE**
>
> The APIs of this module are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.
## Attributes
In addition to the [universal attributes](js-service-widget-common-attributes.md), the following attributes are supported.
| Name | Type | Default Value | Mandatory | Description |
| ------- | ------- | ----- | ---- | ---------------------------------------- |
| type | string | radio | Yes | Type of the **\** component. Currently, only the radio button is supported.
- **radio**: a radio button that allows users to select one from multiple others with the same name.|
| checked | boolean | false | No | Whether the component is checked or not. |
| name | string | - | No | Name of the **\** component. |
| value | string | - | No | Value of the **** component. When **type** is **radio**, this attribute is mandatory and the value must be unique for radio buttons with the same name.|
## Styles
The [universal styles](js-service-widget-common-styles.md) are supported.
## Events
| Name | Parameter | Description |
| ------ | ------------------ | ---------------------------------------- |
| change | $event.checkedItem | Triggered when the **checked** status of a radio button changes. This event returns the value of the selected **\** component.|
| click | - | Triggered when the component is clicked. |
## Example
```html