# Checkbox
```rust demo
let checked = RwSignal::new(false);
view! {
}
```
### Group
```rust demo
use std::collections::HashSet;
let value = RwSignal::new(HashSet::new());
view! {
"value: " {move || format!("{:?}", value.get())}
}
```
### Checkbox Props
| Name | Type | Default | Description |
| -------- | ----------------------------------- | -------------------- | ------------------------------------------- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the checkbox element. |
| value | `Model` | `false` | Whether the checkbox is being checked. |
| children | `Children` | | Checkbox's content. |
### CheckboxGroup Props
| Name | Type | Default | Description |
| -------- | ------------------------ | -------------------- | ------------------------------------- |
| value | `Model>` | `Default::default()` | Sets the value of the checkbox group. |
| children | `Children` | | CheckboxGroup's content. |
### CheckboxItem Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the checkbox element. |
| key | `String` | | The key of the checkbox to be used in a checkbox group. |
| label | `Option` | `None` | Checkbox's label. |