Skip to documentation

Design system / Organisms

Organism / Navigation and discovery

SectionNavigation

SectionNavigation presents supplied section destinations, current-page selection and one-level submenus in a supported responsive layout.

NavigationOrganism

Intent and composition

The organism coordinates SectionNavigationLink and SectionNavigationSubmenu with separate disclosure buttons. The caller controls active IDs; local state controls expanded groups. Changing sections resets disclosure to the supplied active section, while child-page changes retain the disclosure choice.

Coordinated concerns: Primary destinations, composable link/submenu molecules, separate disclosure controls, child-page selection and responsive panel placement.

Receives destination data and active section/child IDs. Only disclosure is local; the caller owns URL selection. DocumentationNavigation binds its labels and finite destinations without copying the visual contract.

Real component specimen

The real navigation organism with fictional section and child destinations. Toggle the submenu using its separate button; all links stay within this specimen. See Molecules & instances for the reusable link/submenu contracts and Page compositions for sticky section layout.

Live preview

Real component, fictional data. Interactive callbacks remain local.

Supported inputs and ownership

SectionNavigation input summary
InputResponsibility
itemsPrimary destinations with optional prefix and one-level child destination collections.
activeId / activeChildIdCaller-controlled URL selection; the selected child is the current page and its ancestor is highlighted.
orientationVertical, horizontal or responsive primary navigation and submenu placement.
className / native nav propsOuter placement, accessible landmark name and ref. Disclosure state remains internal.

This is an integration summary, not a replacement for the implementation's complete prop types. A disabled control or hidden destination does not enforce permission.

Using it in a page

Integrate the section through its supported props and context requirements. Routes supply permitted data; instances bind product copy and behavior; templates arrange slots. Keep feature hooks and operations with their feature owner. Generic layouts must not load business data or enforce product policy.

Implementation

src/components/navigation/section-navigation.tsx
All organisms
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.