Our great sponsors
-
primitives
Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @workos.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
That is a good point! Just using radio buttons under the hood is probably a smaller solution if all you need is this component. Radix has a nice abstraction around their roving tabindex and it is reused in a bunch of components(combobox, tabs, etc). Since it is reused I think it's actually good to use it in this component as well for consistency.
Related posts
- Radix Primitives: an open-source UI component library
- React: Build your own composable, headless components
- Show HN: Radix Themes – A beautiful, open-source React component library
- I'm building Radix Svelte, an unstyled UI component library with a focus on accessibility.
- useControlledProps: Make any React Component Controlled/Uncontrolled