Measured entry

originui-comp-153

radio-groupminimal-flat

A compact vertical radio group with linked labels and an indigo selected state. It ships as an Origin UI shadcn registry component, using React's generated IDs plus the registry's Label and RadioGroup primitives. Those primitives rely on radix-ui, Tailwind utility classes, theme variables, and the usual class-merging helper.

Specimen
Harness screenshot of originui-comp-153 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-153 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-153 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 originui-comp-153
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal36.7 KB (102.1 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 3.85s
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 clean, focused radio-group example for teams already inside the Origin UI or shadcn ecosystem. It builds and mounts reliably in that environment, but the bare failure confirms it needs a shadcn-style setup rather than working as a drop-in standalone component.

Use it if

  • You need a simple single-choice field with visible text labels.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and path aliases.
  • You want Radix-backed keyboard and selection behavior in a minimal layout.

Skip it if

  • You need descriptions, validation messaging, disabled examples, or richer option content out of the box.
  • Your design system avoids Tailwind utilities or shadcn registry primitives.
  • You want a standalone control with no alias, theme-token, or utility-helper setup.

Install

Installation record for originui-comp-153
Declared dependenciesradix-ui
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, install radix-ui, add compatible Label and RadioGroup primitives, configure the import alias, provide the class-merging utility expected by those primitives, and map the Tailwind color and ring variables used by the 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-13

Alternatives

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.