# Grid
```rust demo
use leptos_meta::Style;
view! {
"123"
"456"
"789"
"123"
"456"
"789"
}
```
### Gap
```rust demo
use leptos_meta::Style;
view! {
"123"
"321"
"123"
"456"
"7"
"123"
"123"
"1234"
"567"
"567"
}
```
### Offset
```rust demo
use leptos_meta::Style;
view! {
"123"
"456"
}
```
### Grid Props
| Name | Type | Default | Desciption |
| ----- | --------------------- | -------------------- | --------------------------------------- |
| class | `MaybeSignal` | `Default::default()` | Addtional classes for the grid element. |
| cols | `MaybeSignal` | `1` | Number of grids displayed. |
| x_gap | `MaybeSignal` | `0` | Horizontal gap. |
| y_gap | `MaybeSignal` | `0` | Vertical gap. |
### GridItem Props
| Name | Type | Default | Desciption |
| ------ | --------------------- | -------------------- | --------------------------------------------- |
| class | `MaybeSignal` | `Default::default()` | Addtional classes for the grid item element. |
| column | `MaybeSignal` | `1` | Number of columns this grid item will occupy. |
| offset | `MaybeSignal` | `0` | Horizontal offset. |