aarondancer / reakit

Toolkit for building accessible rich web apps with React

Home Page:https://reakit.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



reakit


Toolkit for building composable, accessible and reliable UIs with React.


🌎 Website   ·   📚 Guide   ·   🏗 Components


NPM version NPM downloads Build Status Coverage Status
Backers Sponsors Spectrum Slack Follow Reakit on Twitter

Supporters

By donating $5 or more you help in the development of this project. Thank you to all our supporters! 🙏

Installation

npm i reakit

Thanks to @nosebit for the package name on npm.

If you are using TypeScript, you'll need to also install @types/styled-components.

Example


See and edit full source code on CodeSandbox

import React from "react";
import { render } from "react-dom";
import { Button, Popover } from "reakit";

const App = () => (
  <Popover.Container>
    {popover => (
      <Button use={Popover.Toggle} {...popover}>
        Toggle
        <Popover {...popover}>
          <Popover.Arrow />
          Popover
        </Popover>
      </Button>
    )}
  </Popover.Container>
);

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

Contributors

This project exists thanks to all the people who contribute.

License

MIT © Diego Haz

About

Toolkit for building accessible rich web apps with React

https://reakit.io

License:MIT License


Languages

Language:TypeScript 71.9%Language:JavaScript 27.9%Language:Shell 0.2%Language:HTML 0.0%