Available Layouts
Fumadocs provides three distinct layout options, each optimized for different documentation styles:Docs Layout
Traditional sidebar-based layout with full navigation
Flux Layout
Mobile-first floating navigation panel
Notebook Layout
Hybrid layout with top navbar and sidebar
Docs Layout
The classic documentation layout with a collapsible sidebar, ideal for technical documentation with deep navigation hierarchies.Import
Basic Usage
app/docs/layout.tsx
Props Reference
Sidebar Configuration
Sidebar Props
Tab Modes
Auto Mode (Default)
Tabs appear in the sidebar as a dropdown:Top Mode
Tabs appear as a horizontal bar above the content:Flux Layout
A modern, mobile-first layout with a floating navigation panel at the bottom of the screen.Import
Basic Usage
app/docs/layout.tsx
Props Reference
Custom Navigation Panel
Notebook Layout
A hybrid layout combining a top navbar with an optional sidebar, similar to Notion or Jupyter notebooks.Import
Basic Usage
app/docs/layout.tsx
Props Reference
Navigation Modes
Auto Mode
Shows title in sidebar, collapses to navbar on mobile:Top Mode
Always shows navigation in the top navbar:Common Configuration
Search Integration
All layouts support search configuration:Theme Switcher
Links and Navigation Items
Choosing a Layout
- Docs Layout: Best for traditional documentation with deep navigation
- Flux Layout: Ideal for mobile-first docs with minimal chrome
- Notebook Layout: Perfect for guides and tutorials with top navigation