# Tabs
```rust demo
let selected_value = RwSignal::new(String::new());
view! {
"Apple"
"Pear"
"Item 1"
"Item 2"
}
```
### Tabs Props
| Name | Type | Default | Description |
| -------- | ----------------------------------- | -------------------- | --------------------------------------- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the tabs element. |
| value | `Model` | `Default::default()` | Tabs value. |
| children | `Children` | | Tabs content. |
### Tab Props
| Name | Type | Default | Description |
| -------- | ----------------------------------- | -------------------- | -------------------------------------- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the tab element. |
| key | `String` | | The indentifier of the tab. |
| label | `String` | `Default::default()` | The label of the tab. |
| children | `Children` | | Tabs content. |
### Tab Slots
| Name | Default | Description |
| -------- | ------- | -------------- |
| TabLabel | `None` | label content. |