Skip to content
Scrollspy toc, light
Light
Scrollspy toc, dark
Dark

Every state

  • Scrollspy toc, default, light
    Scrollspy toc, default, dark

    default

  • Scrollspy toc, flat, light
    Scrollspy toc, flat, dark

    flat

  • Scrollspy toc, hover, light
    Scrollspy toc, hover, dark

    hover

  • Scrollspy toc, focus, light
    Scrollspy toc, focus, dark

    focus

Props

PropTypeDefaultWhat it does
labelstring–The list's title and accessible name
items{ id; title; level?: 2 | 3 }[]–The headings to link to
nestedboolean–Show level-3 items
currentstring–The id marked current in the server HTML
offsetnumber–Pixels from the top where a heading counts as reached

Used in

A block built with toc-03; installing one installs it too

More tables of contents

All 4

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans