Measured entry

originui-comp-157

radio-groupminimal-flat

A compact review-rating radio filter with an all-reviews option, star rows, visible result counts, and screen-reader labels. It ships as a shadcn registry component built from React, registry-provided Label and RadioGroup primitives, utility classes and theme tokens, plus Remix Icon stars.

Specimen
Harness screenshot of originui-comp-157 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-157 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-157 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-157
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal37.1 KB (102.5 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.95s
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 solid, focused starting point for review filtering, with clean responsive behavior and sensible accessible labels. It needs a shadcn-style setup to build, and real use still requires wiring selection state and replacing the sample counts.

Use it if

  • You need a familiar review filter for a product, marketplace or feedback list.
  • Your app already uses shadcn-style registry primitives, Tailwind utilities and theme tokens.
  • You want native radio-group behavior with labels that expose star values to assistive technology.

Skip it if

  • You need a reusable data-driven filter without replacing the embedded labels, counts and choices.
  • You need selection to update application state immediately, since the example only supplies an initial value.
  • Your design system avoids Remix Icon or shadcn-style utility dependencies for a small filter.

Install

Installation record for originui-comp-157
Declared dependencies@remixicon/react, radix-ui
Missing on install@remixicon/react
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 React, Remix Icon, the Radix-based Label and RadioGroup primitives, the class-name utility expected at the aliased lib path, matching path aliases, and the Tailwind utilities and theme tokens used by the markup. Then connect the selected value and replace the embedded review data.

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.