Skip to content
Design System
  • Documentation
  • Prototypes
Branding
  • Voice & tone
  • Logo
  • Farben
  • Typographie
  • Visuelle Elemente
Foundations
  • Usage
  • Global styles
  • Themes
  • Spacing
  • Viewports
  • Colors
  • Typography
  • Core utilities
Layouts
  • Usage
  • Aspect ratio
  • Auto grid
  • Content grid
  • Flex group
  • Flow
  • Multicol
  • Pile
  • Reel
  • Region
  • Repel
  • Sidebar
  • Switcher
  • Wrapper
Patterns
  • Accordion
  • Avatar
  • Avatar Group
  • Book pile
  • Brand shapes
  • Button
  • Calendar Date
  • Callout
  • Card
  • Context Switcher
  • Figure
  • Forms
  • Hero
  • Icon
  • Icon link
  • Image Bento
  • Image Grid
  • List Icon
  • Marquee
  • Modal
  • More Link
  • Pagination
  • Pill
  • Promo Card
  • Prose
  • Section Divider
  • Section Heading
  • Section Illustration
  • Show More
  • Slideout
  • Submenu bar
  • Table
  • Tabs

Sidebar

The sidebar layout provides a flexible main content area alongside a 'fixed' width sidebar, which can be positioned on either the left or right.

If there is not enough space in the viewport to fit both the sidebar and the minimum width of the main content, they will stack on top of each other.

Configuration #

PropertyDefault valueDescription
--guttervar(--spacing-m)This defines the space between the sidebar and main content.
--sidebar-target-width20remHow large the sidebar should be
--sidebar-content-min-width60%The minimum size of the main content area

Exceptions #

ExceptionDescription
.sidebar[data-sidebar-reversed]Flips the sidebar to be on the right.

Examples #

View full screen
Theme