@headlessui/react
A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.
Downloads unavailable · 61.5 KB gzip · Health 55/100
Comparison guide
Side-by-side NPM package comparison

A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.
Downloads unavailable · 61.5 KB gzip · Health 55/100
Downloads unavailable · 12.3 KB gzip · Health 61/100
Choosing between @headlessui/react and @radix-ui/react-dialog? Here's a data-driven comparison based on real npm data — downloads, bundle size, health scores, and more — to help you decide which package fits your project best.
Weekly download data is unavailable for @headlessui/react. Weekly download data is unavailable for @radix-ui/react-dialog. Missing data is not zero downloads. We cannot compare download activity until all counts are available.
@radix-ui/react-dialog has the smallest gzipped bundle at 12.3 KB. @headlessui/react comes in at 61.5 KB. A smaller bundle size means faster page loads, which improves user experience and Core Web Vitals scores.
@radix-ui/react-dialog has an overall health score of 61/100 (good), with strong maintenance, security scores. @headlessui/react has an overall health score of 55/100 (moderate), with strong security scores. Health scores are calculated from maintenance activity, code quality, security posture, popularity, and stability metrics. Download data is incomplete; these composite scores include a fallback popularity input and should not determine an overall winner.
Choose @headlessui/react if you value strong security track record. Choose @radix-ui/react-dialog if you value strong security track record.
Download data is incomplete for this comparison of @headlessui/react and @radix-ui/react-dialog. We are not selecting an overall winner from incomplete metrics. Compare the available bundle, maintenance, and quality information against your project's requirements.
One PDF: the best package for every category (ORMs, bundlers, auth, testing, state management). Used by 500+ devs. Free, updated monthly.