0.4.6 • Published 10 days ago
@ariakit/react v0.4.6
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.
0.4.6
10 days ago
0.4.5
1 month ago
0.4.4
2 months ago
0.4.3
2 months ago
0.4.2
2 months ago
0.4.1
3 months ago
0.4.0
4 months ago
0.3.14
4 months ago
0.3.13
4 months ago
0.3.12
4 months ago
0.3.11
4 months ago
0.3.10
5 months ago
0.3.9
5 months ago
0.3.8
5 months ago
0.3.7
5 months ago
0.3.6
5 months ago
0.2.17
9 months ago
0.2.16
9 months ago
0.2.15
9 months ago
0.2.14
9 months ago
0.2.13
9 months ago
0.2.12
10 months ago
0.2.11
10 months ago
0.3.0
8 months ago
0.3.5
7 months ago
0.3.2
8 months ago
0.3.1
8 months ago
0.3.4
7 months ago
0.3.3
7 months ago
0.2.10
11 months ago
0.2.7
11 months ago
0.2.6
11 months ago
0.2.9
11 months ago
0.2.8
11 months ago
0.2.5
11 months ago
0.2.4
11 months ago
0.1.0
1 year ago
0.2.1
12 months ago
0.1.2
1 year ago
0.2.0
12 months ago
0.1.1
1 year ago
0.1.8
12 months ago
0.1.7
1 year ago
0.2.3
12 months ago
0.1.4
1 year ago
0.2.2
12 months ago
0.1.3
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.0.1
2 years ago