Measured entry
neobrutalism-radio-group
A client-side React radio-group wrapper shipped as a shadcn registry component. It composes Radix Radio Group primitives, uses a Lucide circle for the selected mark, and expects a cn utility plus Tailwind classes and theme tokens for its borders, focus ring, colors, and disabled state.



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 | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 40.2 KB (105.7 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.18s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-8d9c46367836/src/cut/components/ui/radio-group.tsx".
Verdict
A sound, focused choice for a Tailwind React system already aligned with shadcn conventions. It builds and mounts cleanly on its own, but its value is mostly Radix behavior plus a thin neobrutalist skin, so the dependency cost may be hard to justify for a lone radio group.
Use it if
- You want Radix keyboard behavior and selection semantics behind a neobrutalist radio control.
- Your React app already uses Tailwind theme tokens and a shadcn-style cn helper.
- You need a compact primitive that leaves labels, layout, and form composition to the caller.
Skip it if
- You need a framework-neutral control or a component that works without client-side React.
- You do not want to adopt Radix and Lucide for a small form primitive.
- You need a fully packaged field with label, description, validation message, and form-library wiring.
Install
| Declared dependencies | @radix-ui/react-radio-group, 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 Radix Radio Group and Lucide React, provide the cn class-merging helper with clsx and tailwind-merge, configure Tailwind, and define the border and focus-ring theme tokens used by the classes. Preserve the client-component directive in frameworks that distinguish server and client modules.
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 radio-group pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- originui-comp-152minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 36.5KB
- Bare
- fail
- Prov
- NO
- originui-comp-154minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 36.5KB
- Bare
- fail
- Prov
- NO
- originui-comp-153minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 36.7KB
- Bare
- fail
- Prov
- NO
- originui-comp-155minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 36.7KB
- Bare
- fail
- Prov
- NO
- originui-comp-159minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 36.7KB
- Bare
- fail
- Prov
- NO
- originui-comp-158minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 36.9KB
- Bare
- fail
- Prov
- NO