Components
slot
Layout placeholder for screen content.
A placeholder element used in layouts to mark where screen content should be inserted.
Usage
(layout my-layout
(header (text "Header"))
(slot)
(footer (text "Footer")))How It Works
When a screen uses a layout, the screen's content replaces the (slot) element:
Examples
Basic Layout
Sidebar Layout
Dashboard Layout
See Also
- layout - Define reusable page layouts
- Layouts in Language Reference