Measured entry

hextaui-checkbox

selectminimal-flat

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.

Specimen
Harness screenshot of hextaui-checkbox at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-checkbox at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-checkbox at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for hextaui-checkbox
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal35.8 KB (101.3 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for hextaui-checkbox
Declared dependencies@radix-ui/react-checkbox, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-16

Alternatives

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.