npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@coopdigital/component-skipnav

1.0.4 • Public • Published

component-skipnav

Sskip navigation link to create efficient access for users with certain disabilities.

Installation

Install via npm or Yarn:

$ npm install @coopdigital/component-skipnav --save
# OR 
$ yarn add @coopdigital/component-skipnav

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";

Examples

Here's a bunch of examples, showing how you can integrate this CSS module in your project, based on most popular stacks of project. You can either use a post-processed and pre-built CSS form the dist directory, to use PostCSS sources from the src dir.

The latter have certain dependencies, which should be consumed by your frontend toolkit to postprocess the CSS correctly.

Vue.js

TBD

React.js

TBD

Development

TBD

Keywords

install

npm i @coopdigital/component-skipnav

Downloadsweekly downloads

224

version

1.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability