--- title: Magellan description: Magellan allows you to create navigation that tracks the active section of a page your user is in. Pair it with our Sticky plugin to create a fixed navigation element. video: 'eT-WWX74SY0' js: js/foundation.magellan.js tags: - navigation --- ## Setup You can use Magellan with any navigation element, like our [Menu](menu.html) or your own custom component. Just add the attribute `data-magellan` to the container, and links to specific sections of your page. Each section needs a unique ID.

Watch this part in video

edit on codepen button
```html
First Section
Second Section
Third Section
``` --- ## Sticky Navigation You can use Magellan with our Sticky plugin to create a persistent navigation header or sidebar.
edit on codepen button
```html
First Section
Second Section
Third Section
``` This below example is a simplified version of the table of contents on the right side of this page. ```html
```