Skip to content

Examples

Basic

Basic screenshot

Props

SkipToContent

*required
NameTypeDefaultDescription
hrefrequiredstringThe skip to content link.
childrenReact.ReactNodenullContent to display within the skip to content component, typically a string.
classNamestring''Additional styles to apply to the skip to content component.

CSS variables

Expand or collapse columnSelectorVariableValue
.pf-v6-c-skip-to-content--pf-v6-c-skip-to-content--InsetBlockStart
1rem
.pf-v6-c-skip-to-content--pf-v6-c-skip-to-content--ZIndex
600
.pf-v6-c-skip-to-content--pf-v6-c-skip-to-content--focus--InsetInlineStart
1rem