# Radio ```rust demo let value = RwSignal::new(String::new()); let option_value = RwSignal::new(None); view! {
"value: " {move || format!("{}", value.get())}
"option_value: " {move || format!("{:?}", option_value.get())}
} ``` ### Radio Props | Name | Type | Default | Description | | -------- | ----------------------------------- | -------------------- | ---------------------------------------- | | class | `OptionalProp>` | `Default::default()` | Addtional classes for the radio element. | | value | `Model` | `false` | Checked value. | | children | `Option` | `None` | Radio's content. | ### RadioGroup Props | Name | Type | Default | Description | | -------- | ----------------------- | -------------------- | ---------------------------------- | | value | `Model>` | `Default::default()` | Sets the value of the radio group. | | children | `Children` | | RadioGroup's content. | ### RadioItem Props | Name | Type | Default | Description | | --- | --- | --- | --- | | class | `OptionalProp>` | `Default::default()` | Addtional classes for the radio element. | | key | `String` | | The key of the radio to be used in a radio group. | | children | `Option` | `None` | Radio's content. |