Home

Site Layout Responsive Config

Global responsive configuration for sidebar collapse

These settings apply to both sidebars unless overridden per-sidebar.

Example:

[site.layout.responsive]
breakpoint = 1024
toggle-style = "fixed-edge"

Type: ResponsiveConfig

breakpoint

Type: integer (optional)

Breakpoint at which sidebars collapse (in pixels)

Default: 1024

collapsible

Type: boolean (optional)

Whether the sidebar is collapsible

Default: true

toggle-style

Type: SidebarToggleStyle (optional)

Toggle button style

Default: fixed-edge

ValueDescription
fixed-edgeFixed edge buttons (buttons fixed to left/right viewport edges)
headerHeader buttons (toggle buttons inside header region)
hamburgerHamburger menu (single button for all sidebars)

This documentation was generated from layout/config.rs by generate.rs.

© 2026 Stencila