Skip to content
HomePagesHomePages template kit

SectionNav

The build-injected navigation input a section Renderer receives alongside `slots` and `options`.

The build-injected navigation input a section Renderer receives alongside slots and options. Resolution happens at build/render time, never inside a pure renderer — the composition-aware caller builds the map from the composed sections’ resolved anchor values and passes it in.

Import from @homepages/template-kit.

export type SectionNav = {
selfAnchor: string;
anchors: Record<string, string>;
pages: NavPage[];
};