π§© 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-enterprise users to choose either Radix or React Aria based on project needs.
π Reference Links
π€ 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!
π§© 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:
π¦ Proposal
useDialog,useListBox,useOverlay, etc.)next-enterpriseusers to choose either Radix or React Aria based on project needs.π Reference Links
π€ Open Questions
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!