Components
ScrollSpy
ScrollSpy is a token-driven Sigil component in the layout, navigation, and content group.
Import
import { ScrollSpy } from "@sigil-ui/components";Preview
Usage
<ScrollSpy items={[{ href: "#preview", label: "Preview" }, { href: "#usage", label: "Usage" }]} />CLI
npx @sigil-ui/cli add scroll-spyToken Integration
ScrollSpy follows the Sigil component rules: styles resolve from var(--s-*), class names are mergeable through className, and the component is exported from @sigil-ui/components.