Skip to content
Hazine

Link lists and table of contents

0 of 4 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 4

  • Scroll-spy table of contents

    Two-level indented text list with an active state driven by intersection observation and a hook that builds the tree from headings in a given container.

  • On-this-page rail

    Collapsed by default to tick marks with a continuous progress marker, expanding into labels on demand, rather than an always-visible text list.

  • Anchor heading with copy link

    A heading-level primitive rather than a list: generates a slug id, sets scroll-margin for sticky headers and offers a copy-link action with confirmation feedback.

  • Previous and next page links

    Sequential navigation between sibling pages as two full-width link targets with direction label, title and description, handling a missing previous or next side by keeping the remaining card aligned to its edge.