Sticky horizontal anchor navigation that highlights the active section as you scroll. Uses IntersectionObserver for scroll tracking.
| Prop | Type | Description |
|---|---|---|
| items | { label: string; id: string }[] | Section labels and their corresponding element IDs |
| className | string | Additional classes on the root nav element |
Scroll between sections to see the active state update in the nav above.
Scroll between sections to see the active state update in the nav above.
Scroll between sections to see the active state update in the nav above.
Scroll between sections to see the active state update in the nav above.