# Nav Bar
```rust
use thaw::mobile::*;
let click_text = create_rw_signal(String::from("none"));
let on_click_left = move |_| click_text.set("left".to_string());
let on_click_right = move |_| click_text.set("right".to_string());
view! {
{move || click_text.get()}
}
```
### NavBar Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the NavBar element. |
| title | `MaybeSignal` | `Default::default()` | NavBar title. |
| left_arrow | `MaybeSignal` | `false` | Whether to show left arrow. |
| left_text | `OptionalProp>` | `Default::default()` | NavBar left text. |
| on_click_left | `Option>` | `Default::default()` | NavBar left click. |
| right_text | `OptionalProp>` | `Default::default()` | NavBar right text. |
| on_click_right | `Option>` | `Default::default()` | NavBar right click. |
### NavBarLeft and NavBarRight Props
| Name | Type | Default | Description |
| ----- | ----------------------------------- | -------------------- | ---------------------------------- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the element. |