Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

skip-links

v2.6.5arrow_drop_down
v2.6.5
v2.5.5
STATUS
Passing
DOWNLOADS
12
LICENSE
Apache 2.0
VISIBILITY
Public
PUBLISHED
8 months ago
SIZE
38 KB
Describe a list of elements to skip to.
1 contributor
Use skip-links in your project ?
Copied
npm i @bit/grommet.grommet.skip-links
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right

SkipLinks

Describe a list of elements to skip to.

Usage

import { SkipLinks } from 'grommet';
<SkipLinks elements={['main', 'footer']} />

Properties

children

Required. Array of SkipLink

node

messages

Custom messages for SkipLinks. Used for accessibility by screen readers. Defaults to { "skipTo": "Skip To" }.

{
  skipTo: string
}