Giter Site home page Giter Site logo

ayushsoni1010 / ariakit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ariakit/ariakit

0.0 1.0 0.0 93.53 MB

Toolkit for building accessible web apps with React

Home Page: https://ariakit.org

License: MIT License

Shell 0.01% JavaScript 4.37% TypeScript 95.54% CSS 0.09%

ariakit's Introduction

Ariakit

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



Installation

npm:

npm i @ariakit/react

pnpm:

pnpm add @ariakit/react

Yarn:

yarn add @ariakit/react

Usage

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

function App() {
  const [open, setOpen] = useState(false);
  return (
    <>
      <Button onClick={() => setOpen(true)}>Open dialog</Button>
      <Dialog open={open} onClose={() => setOpen(false)}>
        <DialogHeading>Ariakit</DialogHeading>
        <p>Welcome to Ariakit!</p>
      </Dialog>
    </>
  );
}

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

Attribution

Browser testing provided by

Contributing

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

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.