Layouts
Toggle sidebar

Header

A full-width top navigation layout for your application.

Secondary sidebar

Use a sidebar for secondary navigation.

Reference

flux:header

Prop
Description
sticky
When present, makes the header sticky when scrolling.
container
When present, constrains the header content to a container width.
Slot
Description
default
Content to display within the header, typically including branding, navigation, and user profile elements.
CSS
Description
class
Additional CSS classes applied to the header. Common uses: bg-zinc-50, border-b, sticky, etc.

flux:sidebar.toggle

Attribute
Description
icon
The icon to display in the toggle button (e.g., bars-2, x-mark).
inset
Positioning of the toggle button (e.g., left).
CSS
Description
class
Additional CSS classes applied to the toggle button. Common uses: lg:hidden to show only on mobile.

flux:main

Prop
Description
container
When present, constrains the main content to a container width.
Slot
Description
default
Content to display within the main content area.
Copyright © 2026 Wireable LLC ·Terms of Service
Built with by
Caleb Porzio and Hugo Sainte-Marie