# Layout ```rust demo view! { "Header" "Content" } ``` ### Sider ```rust demo view! { "Sider" "Header" "Content" } ``` ### Layout Props | Name | Type | Default | Description | | --- | --- | --- | --- | | class | `OptionalProp>` | `Default::default()` | Class of scrollable content node. | | style | `OptionalProp>` | `Default::default()` | Layout's style. | | content_class | `OptionalProp>` | `Default::default()` | Addtional classes for the layout element. | | content_style | `OptionalProp>` | `Default::default()` | Style of scrollable content node. | | position | `LayoutPosition` | `LayoutPosition::Static` | static position will make it css position set to static. absolute position will make it css position set to absolute and left, right, top, bottom to 0. absolute position is very useful when you want to make content scroll in a fixed container or make the whole page's layout in a fixed position. You may need to change the style of the component to make it display as you expect. | | has_sider | `MaybeSignal` | `false` | Whether the component has sider inside. If so it must be true. | | children | `Children` | | Layout's content. | ### LayoutHeader, LayoutSider Props | Name | Type | Default | Description | | --- | --- | --- | --- | | class | `OptionalProp>` | `Default::default()` | Addtional classes for the layout header element. | | style | `OptionalProp>` | `Default::default()` | LayoutHeader's style. | | children | `Children` | | LayoutHeader's content. |