NavigationSplitView

A responsive two-pane application shell with navigation and content. On compact screens the navigation can replace the content area and an optional compact header and TabBar are shown.

Props

PropTypeDefaultDescription
navigationReactNodeRequiredSidebar or master list
childrenReactNodeRequiredMain content
compactHeaderReactNode-Header shown on mobile and tablet
compactNavigationReactNode-Bottom navigation shown on mobile and tablet
navigationVisibleInCompactbooleanfalseShow the sidebar instead of content in compact mode
navigationWidthstring"320px"Width of the sidebar
navigationInsetstring"12px"Desktop spacing and sticky navigation inset

Structure

<NavigationSplitView
  navigation={<Card material="aurora">{sidebar}</Card>}
  compactHeader={toolbar}
  compactNavigation={<TabBar tabs={compactTabs} />}
  navigationVisibleInCompact={sidebarOpen}
>
  {content}
</NavigationSplitView>

The split view uses document scrolling, keeps desktop navigation sticky, and owns responsive geometry. Navigation selection, sidebar state and rendered content remain controlled by the application.

Surface roles

Navigation
Atmospheric material is reserved for navigation and application chrome.
Floating content
External elevation is reserved for surfaces that sit above normal content.