PF6 JumpLinks component
Jump links allow users to navigate to sections of a page by clicking anchors in a vertical (or horizontal) list. Useful for long-form pages with multiple named sections.
See: https://www.patternfly.org/components/jump-links
A single jump link item (may contain subsection links)
Construct a JumpLinks component from a list of links
jumpLinks
[ link "Section 1" "#section-1" |> withActive
, link "Section 2" "#section-2"
, link "Section 3" "#section-3"
]Construct a jump link
link "Getting started" "#getting-started"Construct a jump link with subsection links
subsectionLink "Overview"
"#overview"
[ link "Introduction" "#intro"
, link "Quick start" "#quick-start"
]Vertical layout (default) — links stacked top to bottom
Center the links horizontally (applies mainly to horizontal layout)
Sticky positioning — the nav stays visible while the page scrolls
Opaque JumpLinks type