# Radio Group
> A set of options where only one can be checked.
Source: https://native.shellui.dev/docs/components/form/radio-group
## Installation
```bash
shellui-native add radio-group
```
**Platforms:** MAUI ยท Avalonia. Also installs `element-extensions`, `radio-group-item`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=radio-group-basic)
## API
### RadioGroup
XAML children go to `Children`.
| Property | Type | Default | Description |
|---|---|---|---|
| `Value` | `string` | โ | Value of the checked item. Two-way bindable. |
| Event | Arguments | Description |
|---|---|---|
| `ValueChanged` | `string` | User input only: setting Value from code or a binding doesn't raise it. |
| Method | Description |
|---|---|
| `SetValue(string value)` | Selects the item with this value. |
### RadioGroupItem
| Property | Type | Default | Description |
|---|---|---|---|
| `Value` | `string` | โ | Value this item stands for. |
| `Text` | `string` | โ | Text shown by the component. |