

Every state


default


start


done


focus
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| label | string | – | Title and accessible name |
| items | { id; title }[] | – | The sections |
| progress | number | – | Progress drawn in the server HTML, 0 to 1 |
| current | string | – | The id marked current in the server HTML |
| articleId | string | – | Element whose height progress runs over; empty uses the page |
| minutes | number | – | Reading time of the article; 0 hides the line |
| remainingLabel | string | – | "{n} min left" |
| doneLabel | string | – | Shown at the end |
| offset | number | – | Pixels from the top where a heading counts as reached |
More tables of contents
All 4toc-02 is in UI ProGet UI Pro, €199


