Layouts

Sidebar

Use a sidebar navigation layout to keep your application content front and center.

Fullscreen
Copy to clipboard

Secondary header

Use a top header for secondary navigation.

Fullscreen
Copy to clipboard

Reference

flux:sidebar

Prop
Description
sticky
When present, makes the sidebar sticky when scrolling.
stashable
When present, allows the sidebar to be toggled on/off on smaller screens.
Slot
Description
default
Content to display within the sidebar, typically including branding, navigation elements, and user profile.
CSS
Description
class
Additional CSS classes applied to the sidebar. Common uses: bg-zinc-50, border-r, 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 © 2025 Wireable LLC ·Terms of Service
Built with by
Caleb Porzio and Hugo Sainte-Marie