Layout

The KLayout component provides a unified, slot-driven structural shell for Katlux applications. It handles semantic layout areas (header, aside, main, footer) with automatic presence-based adaptation and supports dynamic slot forwarding for preset developers.

Standard Application Layout

🚀 App BrandOverview • Products • Reports

Main Content Area

The main container fills the available space and handles scrolling.

Presence-Based Adaptation (e.g. Checkout / Login / Canvas)

🛒 Store Checkout

Full-Width Content (No Aside)

When the #aside slot is omitted, the layout automatically collapses the aside column and expands #main to 100% width.

Custom Preset Slots & Dynamic Slot Forwarding

Dynamic Slot Forwarding: KLayout forwards all slots dynamically. When writing a custom preset, developers can define custom slots (e.g., #toolbar, #statusbar, #banner) and consume them without modifying the core toolkit.