Skip to content

TableOfContents

stable

Collapsible table of contents with anchor link navigation

OverlaysInteractive/Storybook ↗
import { TableOfContents } from "@nodus/design-system"
Loading demo…

Props

itemsrequired
Type TocItem[]Default

Array of section items ({ id, label }) to display as anchor links

Metadatasemantictypeborder
MobileTouch Target

TOC links must be ≥44px tap height. On mobile, TOC is typically hidden in a collapsible drawer or sticky header. Use the collapsed prop to hide at <768px.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?