# Switch
```rust demo
let value = create_rw_signal(false);
view! {
}
```
### Switch Props
| Name | Type | Default | Description |
| ----- | --------------------- | -------------------- | ----------------------------------------- |
| class | `MaybeSignal` | `Default::default()` | Addtional classes for the switch element. |
| value | `RwSignal` | `Default::default()` | Switch's value. |