# Struct ui::RadioGroup

> One choice among options (type 21).

`zaun_client::ui::RadioGroup` · Struct

```rust
pub struct RadioGroup
```

One choice among options (type 21).

## Methods

### `new`

```rust
pub fn new<impl Into<String>>(custom_id: impl Into<String>, list: &[(&str, &str)]) -> Component
```

The input: 2–10 `(label, value)` options.

## Trait implementations

`Clone`, `Copy`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/ui/modal/struct.RadioGroup.html)
