Anchor

A table of contents for one page, whose active link follows the reader as they scroll.

Anotomy

Structure of the anchor and how its internal parts are composed. These are its semantic parts, so they are also what the classNames and styles objects accept.
Anchor anotomy
NameDescription
1rootThe list of links, with the rail down its side. direction lays it out in a row, and affix pins it while the page scrolls.
2itemOne link, from an entry in items. An entry's children are indented under it.
3itemTitleThe link's text, from the item's title. It points at the item's href.
4indicatorThe bar on the rail beside the link whose section is in view. It slides as the reader scrolls.