

Every state


default


open


focus
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| label | string | – | Title and accessible name |
| items | { id; title; level?: 2 | 3 }[] | – | The headings to link to |
| current | string | – | The id shown in the server HTML |
| defaultOpen | boolean | – | Starts open |
| offset | number | – | 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 4toc-01 is in UI ProGet UI Pro, €199



