# Drawer
```rust demo
let show = create_rw_signal(false);
let placement = create_rw_signal(DrawerPlacement::Top);
let open = Callback::new(move |new_placement: DrawerPlacement| {
placement.set(new_placement);
show.set(true);
});
view! {
"Hello"
}
```
### Customize display area
```rust demo
let show = create_rw_signal(false);
view! {
"Current position"
}
```
### Drawer Props
| Name | Type | Default | Desciption |
| --- | --- | --- | --- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the drawer element. |
| show | `Model` | | Whether to show drawer. |
| title | `OptionalProp>` | `Default::default()` | Drawer title. |
| placement | `MaybeSignal` | `DrawerPlacement::Right` | Drawer placement. |
| width | `MaybeSignal` | `520px` | Drawer width. |
| height | `MaybeSignal` | `260px` | Drawer height. |
| z_index | `MaybeSignal` | `2000` | z-index of the drawer. |
| mount | `DrawerMount` | `DrawerMount::Body` | Container node of the drawer. |
| children | `Children` | | Drawer content. |