sigilUI

Anchor Nav

Link directly to named sections on the current page.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { AnchorNav } from "@sigil-ui/components";

Usage

<AnchorNav items={[{ href: "#overview", label: "Overview" }, { href: "#props", label: "Props" }]} />

CLI

npx @sigil-ui/cli add anchor-nav

Token Integration

AnchorNav 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.