-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
π§© Suggestion
I'd like to propose replacing or optionally supporting React Aria in place of (or alongside) Radix UI components within next-enterprise.
π‘ Why React Aria?
React Aria provides a comprehensive set of accessible UI primitives powered by ARIA and WAI-ARIA guidelines. Itβs:
- β Framework-agnostic and works seamlessly with Tailwind or custom CSS
- βΏ 100% accessible by default
- π οΈ Lightweight with no hard design opinions
- π« No layout rendering β fully headless like Radix, but with stronger accessibility guarantees
π¦ Proposal
- Introduce React Aria components (e.g.,
useDialog,useListBox,useOverlay, etc.) - Create wrappers (or custom hooks) that replicate current Radix behaviors but using Aria's headless APIs.
- Allow
next-enterpriseusers to choose either Radix or React Aria based on project needs.
π Reference Links
- React Aria Docs
- Comparison of Headless UI Libraries vs Radix vs React Aria
- Example Dialog Component with React Aria
π€ Open Questions
- Should this be a full replacement or an optional abstraction layer?
- Would we create a shared
ui/component layer to switch primitives easily?
Happy to submit a PR if the maintainers are open to this direction. Let me know your thoughts!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels