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

Every state

  • Mobile toc, default, light
    Mobile toc, default, dark

    default

  • Mobile toc, open, light
    Mobile toc, open, dark

    open

  • Mobile toc, focus, light
    Mobile toc, focus, dark

    focus

Props

PropTypeDefaultWhat it does
labelstring–Title and accessible name
items{ id; title; level?: 2 | 3 }[]–The headings to link to
currentstring–The id shown in the server HTML
defaultOpenboolean–Starts open
offsetnumber–Pixels from the top where a heading counts as reached

Used in

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

More tables of contents

All 4
toc-01 is in UI ProGet UI Pro, €199

Preview

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

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