Giter Site home page Giter Site logo

vio / ariakit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ariakit/ariakit

1.0 1.0 0.0 69.62 MB

Toolkit for building accessible web apps with React

Home Page: https://ariakit.org

License: MIT License

Shell 0.01% JavaScript 4.18% TypeScript 93.75% CSS 2.06%

ariakit's Introduction

Ariakit

Toolkit for building accessible web apps with React.
Explore website »




This is the Ariakit (v2) branch (What is Ariakit?), which is still in alpha.
If you're looking for Reakit (v1), check out the v1 branch.


Installation

npm:

npm i ariakit

Yarn:

yarn add ariakit

Usage

import { createRoot } from "react-dom/client";
import {
  Button,
  Dialog,
  DialogHeading,
  DialogDescription,
  useDialogState,
} from "ariakit";

function App() {
  const dialog = useDialogState();
  return (
    <>
      <Button onClick={dialog.toggle}>Open dialog</Button>
      <Dialog state={dialog}>
        <DialogHeading>Welcome</DialogHeading>
        <DialogDescription>Welcome to Reakit!</DialogDescription>
      </Dialog>
    </>
  );
}

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

Contributing

See [v2] Examples and follow the instructions on the contributing guide.

ariakit's People

Contributors

alexmunoz avatar amogower avatar andarist avatar anuraghazra avatar cloud-walker avatar david-szabo97 avatar dependabot-preview[bot] avatar dependabot[bot] avatar diegohaz avatar ewgenius avatar folz avatar georgekaran avatar github-actions[bot] avatar gracehaz avatar guria avatar joaovitorzv avatar jxom avatar jyash97 avatar k-sav avatar leonardoelias avatar matheus1lva avatar navin-moorthy avatar renatorib avatar renovate[bot] avatar saideepesh000 avatar sarayourfriend avatar scasarotto avatar tcodes0 avatar tom-sherman avatar ubbe-xyz avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.