Measured entry

originui-comp-158

radio-groupminimal-flat

A compact React color picker rendered as a fieldset with circular radio swatches. It ships as an Origin UI registry component composed from the project’s radio-group wrapper, which is client-side and depends on Radix UI, Tailwind utility classes, and the shared cn helper alias.

Specimen
Harness screenshot of originui-comp-158 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-158 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-158 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-158
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal36.9 KB (102.3 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 4.01s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/radio-group.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A sound, focused preset selector with clean responsive behavior and accessible primitive semantics. It is best treated as a recipe for an established design system, not a drop-in package: the bare version does not mount and needs a shadcn-style setup.

Use it if

  • You need a small fixed-palette color choice inside an existing shadcn-style React interface.
  • You want keyboard and screen-reader radio behavior supplied by a Radix primitive.
  • Your design already uses Tailwind utilities and can adopt the component’s token conventions.

Skip it if

  • Users must compare named colors visually, since the swatches show no persistent text labels.
  • Your choices are dynamic, need previews, or require richer states than a compact preset row.
  • You want a dependency-free control or do not have Tailwind and shadcn-style aliases in place.

Install

Installation record for originui-comp-158
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, add Radix UI and the radio-group wrapper, configure Tailwind with the referenced theme tokens, provide a cn class-merging helper, and replace the registry import aliases with paths your build resolves.

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.