Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check-group component #5

Open
thiagomajesk opened this issue Mar 20, 2023 · 0 comments
Open

Add check-group component #5

thiagomajesk opened this issue Mar 20, 2023 · 0 comments

Comments

@thiagomajesk
Copy link
Owner

I got the idea from this post in the Fly IO blog: https://fly.io/phoenix-files/making-a-checkboxgroup-input/. From my experience, this is used very very often and it's basically a necessity to have a good abstraction over it.

The implementation from the post is not particularly great because the .input core component is very limited.
We can abstract it and create our own primitive following the respective WAI-ARIA recommendations for this.
BTW, it would go hand-in-hand with the existing idea of implementing a radio-group component like Radix UI: https://www.radix-ui.com/docs/primitives/components/radio-group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant