# use-roving-tabindex

> Roving tabindex as a tiny (601B) react hook

Latest version **0.1.2** (published 2021-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install use-roving-tabindex
pnpm add use-roving-tabindex
yarn add use-roving-tabindex
bun add use-roving-tabindex
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2021-03-19 |
| First published | 2021-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | charbelrami |

## Links

- npm: https://www.npmjs.com/package/use-roving-tabindex
- npm.io page: https://npm.io/package/use-roving-tabindex

## Recent versions

- 0.1.2 (latest) — 2021-03-19
- 0.1.1 — 2021-02-11
- 0.1.0 — 2021-02-06

## README

# use-roving-tabindex

> Roving tabindex as a tiny (601B) react hook

## Examples

[codesandbox](https://codesandbox.io/s/use-roving-tabindex-examples-oh058?file=/src/index.js)

## Installation

```bash
npm install use-roving-tabindex
```

## Usage

```js
import { useRovingTabindex } from "use-roving-tabindex";
```

```js
function BasicExample() {
  const [compositeRef] = useRovingTabindex();

  return (
    <div ref={compositeRef}>
      <button>item 0</button>
      <button>item 1</button>
      <button>item 2</button>
    </div>
  );
}
```

---
_Source: https://npm.io/package/use-roving-tabindex · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
