Skip to main content

orbital_core_components/layout/
slots.rs

1use leptos::prelude::*;
2
3/// Optional header region — typically a Fixed or Sticky [`AppBar`](crate::AppBar).
4#[slot]
5pub struct LayoutHeader {
6    pub children: Children,
7}
8
9/// Side navigation or utility column.
10#[slot]
11pub struct LayoutSidebar {
12    pub children: Children,
13}
14
15/// Primary scrollable content region.
16#[slot]
17pub struct LayoutMain {
18    pub children: Children,
19}