ADR: Ariakit as the base #879
Replies: 1 comment
-
December 2025 updateThis is largely superseded by #1116. While Ariakit might still be used by any bespoke components in the future (TBD), it will be no longer be used as the "base". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
StrataKit components are built on top of Ariakit, an unstyled accessibility-focused library of React components.
Below is a breakdown comparing Ariakit and React Aria, the two main headless/unstyled UI libraries that were considered when StrataKit started. I've also included Radix UI for the sake of completion; it is a seriously impressive option that I wish was better maintained.
Note
This was originally authored in August 2024.
Comparison table of headless libraries
(I did also look at some other libraries, such as Headless UI, Base UI, and Zag/Ark, but none of them are what I would consider to be serious contenders to the above in terms of overall quality.)
Ultimately, we are still responsible for building the actual components. The main purpose of a headless component library is to give us an accessible base and save us time & effort without getting in our way. I believe Ariakit does that better than React Aria. We can always reach for other libraries in the places where Ariakit falls short.
Addendum (August 2025)
A year later, there are a few things worth calling out:
RoleandCollection, to be incredibly useful. We are able to consistently use base features (such asrender/autoFocus/accessibleWhenDisabled) in all components without any added effort.Beta Was this translation helpful? Give feedback.
All reactions