Socket
Book a DemoInstallSign in
Socket

@coopdigital/component-skipnav

Package Overview
Dependencies
Maintainers
0
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coopdigital/component-skipnav

Co-op Component: Skipnav

latest
Source
npmnpm
Version
2.5.8
Version published
Weekly downloads
377
8.65%
Maintainers
0
Weekly downloads
 
Created
Source

component-skipnav

Skip navigation links to create efficient access for users who navigate using a keyboard.

Installation

Install with NPM:

$ npm install @coopdigital/component-skipnav --save

Usage

You can include component-skipnav in your project by referencing it from your existing CSS via @import statement, i.e.:

@import "node_modules/@coopdigital/component-skipnav/dist/skipnav.css";

If you use PostCSS in your build pipeline, you can reference the sources directly like so:

@import "node_modules/@coopdigital/component-skipnav/src/skipnav.pcss";

If you use a postcss-import plugin, it gets even easier:

@import "@coopdigital/component-skipnav";

HTML can be copied from the example on the design system website or can be found in the /dist folder in the package.

Development

For information on how to develop this package see the developing foundations and components forthe design system documentation.

Changelog

2.2.0 (Fix release)

Fixes We’ve made fixes the skip navigation.

Fix background colour and hover not passing colour contrast guidelines.

Previous releases did not have notes

License

Copyright (c) 2021 Co-operative Group Limited. Licensed MIT.

Keywords

navigation

FAQs

Package last updated on 27 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts