Scroll Spy
Track the section currently visible in the viewport.
Preview
Import
import { ScrollSpy } from "@sigil-ui/components";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.