Measured entry
hextaui-checkbox
A copy-in React checkbox shipped as a shadcn registry item. It wraps the Radix Checkbox primitive, renders a Lucide check icon, and styles states with Tailwind theme tokens through a local cn helper backed by clsx and tailwind-merge.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 35.8 KB (101.3 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 692ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-005d233364df/src/cut/components/ui/checkbox.tsx".
Verdict
A sound copy-in choice for Tailwind projects: it builds and mounts without a provider, and the tested control has no reported accessibility violations. The main tradeoff is bringing Radix and a shared utility stack for a small control, while narrow overflow comes from the fixed-width demo wrapper.
Use it if
- You want an accessible checkbox primitive with checked, disabled, required, invalid, and focus states already wired.
- Your app already uses Tailwind theme tokens and a cn utility, or can map these conventions easily.
- You prefer owning a small component file while delegating interaction behavior to Radix.
Skip it if
- You need a dependency-free native input and do not want Radix in the client bundle.
- Your design system does not use Tailwind utility classes or shadcn-style color tokens.
- You need a labeled field abstraction with validation messages rather than only the checkbox control.
Install
| Declared dependencies | @radix-ui/react-checkbox, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add the Radix Checkbox and Lucide React packages, provide a cn helper using clsx and tailwind-merge, replace the path alias if needed, and define or remap the Tailwind color, border, ring, and shadow tokens used by the classes. Ensure the file is compiled as a client component.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/preetsuthar17/HextaUIAlternatives
Other published entries for the select pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hextaui-native-selectminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.6KB
- Bare
- fail
- Prov
- NO
- 8bitcn-difficulty-selectskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 32.7KB
- Bare
- fail
- Prov
- NO
- hextaui-radio-groupminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 40.3KB
- Bare
- fail
- Prov
- NO
- ruixen-tag-cloud-selectunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.8KB
- Bare
- fail
- Prov
- NO
- tripled-animated-select-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 60.4KB
- Bare
- fail
- Prov
- NO
- 8bitcn-theme-selectorskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 62.1KB
- Bare
- fail
- Prov
- NO