Measured entry
neobrutalism-checkbox
A client-side React checkbox styled with Tailwind theme tokens for a compact neobrutalist treatment. It ships as shadcn registry source, wraps the Radix Checkbox primitive, renders a Lucide check icon, and uses the usual 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 | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 35.9 KB (101.4 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 1.02s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-6f12964cda66/src/cut/components/ui/checkbox.tsx".
Verdict
A focused, reusable checkbox with sound primitive behavior and no provider requirement. It builds and mounts cleanly, but the supplied palette has a serious contrast issue, so treat the theme colors as a required accessibility fix before release.
Use it if
- You want Radix checkbox behavior with a bold outlined control that fits a neobrutalist interface.
- Your React app already uses Tailwind utilities and can map the component's border, main, and foreground theme tokens.
- You prefer owning a small source component instead of adopting a larger form library.
Skip it if
- Your design system does not use the required Tailwind theme tokens or the heavy outlined visual style.
- You need a checkbox whose supplied colors already pass automated contrast checks without adjustment.
- You want a dependency-free native checkbox rather than Radix and Lucide dependencies.
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 React project, add Radix Checkbox, Lucide React, clsx, and tailwind-merge; provide a cn utility; enable the Tailwind data-state, focus, and sizing classes; and define the border, main, and main-foreground color tokens. Keep it in a client-rendered boundary.
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/ekmas/neobrutalism-componentsAlternatives
Other published entries for the checkbox pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-checkboxneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- clay-checkboxclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- shadcn-checkboxunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 18.4KB
- Bare
- fail
- Prov
- NO
- originui-comp-132minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.5KB
- Bare
- fail
- Prov
- NO
- originui-comp-135minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.5KB
- Bare
- fail
- Prov
- NO
- originui-comp-140minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.5KB
- Bare
- fail
- Prov
- NO