reakit

Toolkit for building accessible rich web apps with React

  • reakit

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
reakit
1.3.112 years ago7 years agoMinified + gzip package size for reakit in KB

Readme



<img src="https://user-images.githubusercontent.com/3068563/55114952-118f6b00-50c2-11e9-8879-d047e5686284.png" alt="Reakit symbol" width="80" />


Reakit

Toolkit for building accessible rich web apps with React.
Explore website ยป




NPM version NPM downloads Build Status
Sponsors Backers

<img alt="Follow Reakit on Twitter" src="https://img.shields.io/twitter/follow/reakitjs.svg"></a>

Sponsors

By donating $100 or more you become a sponsor and help in the development of this project. Thank you to all our sponsors! ๐Ÿ™

Backers

By donating $5 or more you become a backer and help in the development of this project. Thank you to all our backers! ๐Ÿ™

Installation

npm:
npm i reakit

Yarn:
yarn add reakit

Thanks to @nosebit for the package name on npm.

Usage

import React from "react";
import ReactDOM from "react-dom";
import { useDialogState, Dialog, DialogDisclosure } from "reakit";

function App() {
  const dialog = useDialogState();
  return (
    <div>
      <DialogDisclosure {...dialog}>Open dialog</DialogDisclosure>
      <Dialog {...dialog} aria-label="Welcome">
        Welcome to Reakit!
      </Dialog>
    </div>
  );
}

ReactDOM.render(<App />, document.getElementById("root"));

Play with this on CodeSandbox and read the documentation to learn more.

Contributors

This project exists thanks to all the people who contribute. Learn more on the contributing guide.

reakit Logo by Leonardo Elias.

Attribution

Browser testing provided by

License

MIT ยฉ Diego Haz