TableOfContents
“On this page”: one row per heading between hairlines; the heading in view in text color with an ink line above it, the others faded.
<TableOfContents items={items} active="examples" className="w-200" />import { TableOfContents } from "@logicplanes/kaeso-ui";Props
activestringControlled active id; otherwise it follows the scroll position.
itemsTocItem[]The headings to list, with their depth.
titlestringDefaults to "On this page" in the provider's language.