Measured entry
originui-comp-152
A minimal vertical radio selector that ships as a shadcn registry component with placeholder choices and an initial selection. It composes Origin UI's Label and RadioGroup primitives, uses React-generated IDs for label association, and depends on Radix UI, Tailwind utility classes, path aliases, and the shared class-name helper.



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 | 36.5 KB (101.9 KB build, 65.4 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 3.83s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/label.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A sound, accessible starting point for a conventional radio field, but little more than composition glue around existing primitives. It builds and mounts cleanly in its intended environment, while bare use fails because it needs a shadcn-style setup and shared utility wiring.
Use it if
- You need a compact single-choice field inside an existing shadcn-style form.
- Your stack already uses Radix UI and Tailwind, and you want accessible label association out of the box.
- You want a plain vertical option list that can be relabeled and connected to application state.
Skip it if
- Your project avoids Tailwind, Radix UI, or shadcn path aliases and shared helpers.
- You need a finished controlled form field with validation, error messaging, and submission wiring.
- Your choices require descriptions, icons, pricing, or card-style selection states.
- You prefer native radio inputs without a component-library dependency.
Install
| Declared dependencies | radix-ui |
|---|---|
| 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 UI, Tailwind styling, the Label and RadioGroup wrappers, the shared class-name utility, and matching import aliases. Then replace the placeholder labels and decide whether the group should be controlled by your form state.
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/origin-space/originuiAlternatives
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-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
- originui-comp-157minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 37.1KB
- Bare
- fail
- Prov
- NO