Measured entry

neobrutalism-checkbox

checkboxbrutalism

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.

Specimen
Harness screenshot of neobrutalism-checkbox at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of neobrutalism-checkbox at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of neobrutalism-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 neobrutalism-checkbox
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal35.9 KB (101.4 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 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

Installation record for neobrutalism-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 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.

License
MIT
Record published
2026-08-16

Alternatives

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.