Skip to content


Skip navigation link for screenreader and keyboard users. Because the main content is not usually the first thing in the document, it's valuable to provide a shortcut for keyboard and screenreader users to skip to the content.

If the user does not navigate with the keyboard, they won't see the link.

For a demo, click some empty space on this page to move focus to the document body, then hit the "tab" key You'll see the link pop up. Hit enter, then tab again. Rather than cycling through the navigation, you are tabbing through the main content of the page.

    {/* put the link at the top of your app */}
    <SkipNavLink />
      <YourNav />
      {/* and the content next to your main content */}
      <SkipNavContent />
      <YourMainContent />


yarn add @reach/skip-nav

And then import it:

import { SkipNavLink, SkipNavContent } from "@reach/skip-nav";


Renders a link that remains hidden until focused to skip to the main content.

[data-reach-skip-link] {
[data-reach-skip-link]:focus {
element propsspread

Type: spread

Element props are spread to the underlying link.

Type: node default: "Skip to content"

Allows you to change the text for your preferred phrase or localization.

<SkipNavLink>saltar al contenido</SkipNavLink>


Renders a div as the target for the link.


Type: node

You can place the SkipNavContent element as a sibling to your main content or as a wrapper:


// or


Keep in mind it renders a div, so it may mess with your CSS depending on where it’s placed.