Skip to content

A skip to content component allows screen reader and keyboard users to bypass navigation rather than tabbing through it.

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
We use cookies on our websites to deliver our online services. Details about how we use cookies and how you may disable them are set out in our Privacy Statement. By using this website you agree to our use of cookies.