Scrollspy
Highlights the section in view.
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
items | readonly ScrollspyItem[] | [] | Sections to track; each item links to and observes its `href` anchor. |
label | string | — | Accessible label for the nav element; falls back to a localized default. |
Types
ScrollspyItem
| Field | Type | Description |
|---|---|---|
href | string | In-page anchor (e.g. `#section`) linked to and observed for visibility. |
label | string | Text shown for this entry in the navigation list. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.