@zeroconf/keyboard-navigation
v4.0.0
Published
Keyboard navigation library for React, providing primitives for building web applications with keyboard navigation support.
Downloads
6
Readme
Keyboard navigation
This library ships with an implementation that works with react, but it is not limited to react. Maybe later the react part will be moved to separate library.
Getting started
First add the keyboard-navigation to your project
npm install @zeroconf/keyboard-navigation
or
yarn add @zeroconf/keyboard-navigation
<html>
<head>
<script type="application/javascript" src="//unpkg.com/@zeroconf/keyboard-navigation/blob/latest/dist/umd.js">
</head>
<body>
<form>
<p>
<label for="first-name">First name</label>
<input type="text" name="first-name" />
</p>
<p>
<label for="last-name">Last name</label>
<input type="text" name="last-name" />
</p>
<p>
<label for="email">Email</label>
<input type="email" name="email" />
</p>
<p>
<label for="password">Password</label>
<input type="password" name="password" />
</p>
<p>
<label for="password">Password</label>
<input type="password" name="password" />
</p>
<form>
</body>
</html>