All the documentation and demos are available here.
This mono-repo contains the following packages:
- @arrow-navigation/core: Light (~16kb) and zero-dependency module to navigate through elements using the arrow keys written in Typescript. You can view the npm package here.
- @arrow-navigation/react: A light and performant React implementation for the core package. You can view the npm package here.
All the documentation is available in the README of each package.
- Core demo with Vanilla JS: A simple demo using the core package with Vanilla JS and Vite.
- React demo: A simple demo using the React package with Vite.
- Clone the repo
- Install the dependencies with
yarn install
- Initialize the packages and demos with
yarn dev
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Keep the coverage at +95% and run yarn test
before commit.
MIT