Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ariakit/ariakit

Toolkit for building accessible web apps with React
https://github.com/ariakit/ariakit

a11y accessibility accessible aria ariakit components react reactjs reakit wai-aria

Last synced: about 1 month ago
JSON representation

Toolkit for building accessible web apps with React

Awesome Lists containing this project

README

        

Ariakit


Toolkit for building accessible web apps with React.


Explore website ยป




NPM version


GitHub Release Date


GitHub Discussions




NPM downloads

ย 

GitHub Repo stars

ย 

Follow Ariakit on Twitter


## Installation

npm:

```
npm i @ariakit/react
```

pnpm:

```
pnpm add @ariakit/react
```

Yarn:

```
yarn add @ariakit/react
```

## Usage

```jsx
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 (
<>
setOpen(true)}>Open dialog
setOpen(false)}>
Ariakit

Welcome to Ariakit!



>
);
}

createRoot(document.getElementById("root")).render();
```

## Attribution

Browser testing provided by

## Contributing

Follow the instructions on the [contributing guide](https://github.com/ariakit/ariakit/blob/main/contributing.md).