Toolkit with accessible components, styles, and examples for your next web app

Ariakit retweeted
I'm working on a new example using the Ariakit Dialog component: Dialog with a scrollable backdrop. → Clicking on the backdrop closes the dialog. → Clicking on the scrollbar doesn't. More on this soon.
3
2
35
5,358
Ariakit retweeted
Testing the Ariakit Dialog component in several scenarios: deeply nested, siblings (that works like nested), portal and non-portal, with and without a backdrop, etc. Component page: ariakit.org/components/dialo…

ALT Screencast shows a dialog with several buttons that open nested and sibling dialogs.

1
2
35
3,498
Ariakit retweeted
✨Playing with a more complex example using Ariakit components: → Menu with MenuItemCheckbox → Select with the defaultOpen prop Link to the code and demo in the thread.
1
7
87
10,904
Ariakit retweeted
✨ MenuItemCheckbox example with a higher-level API built on top of Ariakit components. Link to the demo and code in the thread.
1
4
60
10,724
Ariakit retweeted
🙌🏽 I just published a new post in the Ariakit newsletter: Composition It features links to new and updated examples on the site this month, along with a few other items. You can read it and subscribe at newsletter.ariakit.org/p/com…
1
3
32
3,230
Ariakit retweeted
I've just updated the custom checkbox example on Ariakit: • Renders a native input element • Works with mouse clicks, space, and enter keys • defaultChecked/checked/onChange props • :focus-visible styles • Animating the SVG path with CSS 👉🏽 ariakit.org/examples/checkbo…

ALT Clicking on a custom checkbox component.

1
3
56
8,301
Ariakit retweeted
New example: Tooltip with Framer Motion 👉🏽 ariakit.org/examples/tooltip… The next example with Framer Motion will be animated tabs and tab panels. Excited about this!

ALT Moving the mouse over a link with the text "Tooltip with Framer Motion" shows an animated tooltip with the text "https://ariakit.org/examples/tooltip-framer-motion".

2
12
64
12,989
Ariakit retweeted
Published a new Composition guide to Ariakit: 👉🏽 ariakit.org/guide/compositio… It's related to the `as` prop and the new `render` prop available in all components.
2
2
53
11,929
Ariakit retweeted
A new example has landed 🙌🏽 Tabs with Next.js App Router and Parallel Routes It's rendered on the server and is fully functional with clicks, arrow keys, URL changes, and the browser's back and forward buttons. Link to the live example and the source code in the thread 👇🏽
1
15
137
23,556
Replying to @diegohaz @ariakitjs
for anyone who needs the tooltip framer motion example: stackblitz.com/edit/dphcog?f… I think I'm getting familiar with integrating Ariakit with framer motion, it's pretty simple actually
1
1
2
451
Ariakit retweeted
🙌🏽 I just published an example of the Ariakit Dialog using the Next.js App Router with Parallel Routes. Link with live example and code in the thread.
5
9
131
33,926
Ariakit retweeted
Great news! The Ariakit Dialog component now seamlessly integrates with browser extensions and third-party libraries that open nested dialogs. Users can interact with these elements without closing the underlying modal dialog or losing its modal behavior.
5
2
64
8,119
Still betting on @ariakitjs
This is satisfying!

ALT A screencast: opening a dropdown menu nested on a modal dialog. Reducing the vertical size of the window shrinks the dialog. At the same time, the dropdown menu popover keeps connected to the menu button, flipping to the top and adapting its size to remain visible.

1
3
838
Ariakit retweeted
For those who like higher-level APIs, building this Dialog and Menu APIs with @ariakitjs is super easy. Implementation in the thread.
1
8
84
19,327
Ariakit retweeted
Updated the Tab with React Router example on Ariakit: ariakit.org/examples/tab-rea…
1
2
35
5,990
Ariakit retweeted
Creating accessible animated dropdown menus with Ariakit and Framer Motion is super easy. You can check out this example on ariakit.org/examples/menu-fr…
1
6
98
8,417
Ariakit retweeted
Just added a new section to the component stores guide on Ariakit: Using React Context. ariakit.org/guide/component-…
2
15
1,799
Ariakit retweeted
Added a new example to Ariakit: FormRadio 👉 ariakit.org/examples/form-ra…
1
1
15
1,842
Ariakit retweeted
Ariakit Combobox with inline completion strings will now support IME and composition text: Chinese characters, accents, etc. Example: ariakit.org/examples/combobo…
3
30
4,522
Ariakit retweeted
In the next version, modal dialogs on @ariakitjs will incorporate the `inert` attribute (when available) instead of rendering focus trap elements. This change will result in a more natural focus behavior, like when using native dialog elements.
2
3
30
2,611