Measured entry

kibo-rating

navbarminimal-flatmotion on file

A client-side React star rating that supports controlled or uncontrolled values, hover feedback, arrow-key changes, custom icons, and a read-only mode. It ships as source code and depends on Radix controllable state, Lucide icons, Tailwind utility classes, and a local cn helper built with clsx and tailwind-merge.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of kibo-rating at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of kibo-rating at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kibo-rating 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 kibo-rating
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal32.0 KB (97.5 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A compact, adaptable rating primitive that builds and mounts cleanly, with useful state and keyboard behavior. Do not ship it unchanged: the unnamed star buttons are a critical accessibility failure, and the demo wrapper also overflows on a narrow viewport.

Use it if

  • You need an editable or read-only star score with controlled and uncontrolled state support.
  • Your interface already uses Tailwind utilities and Lucide icons.
  • You are prepared to add accessible names and review the radio interaction semantics before release.

Skip it if

  • You need an accessible rating control that can ship unchanged, because its star buttons have no discernible names.
  • You need a dependency-light control without Radix state utilities or Lucide.
  • Your layout must work on narrow screens without adjusting the fixed-width demo wrapper.

Install

Installation record for kibo-rating
Declared dependencies@radix-ui/react-use-controllable-state, lucide-react, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

Add the Radix controllable-state package, Lucide React, clsx, and tailwind-merge. Provide the local cn utility, Tailwind processing, and the ring theme token used by the focus styles. Add accessible labels to each rating button and remove or adapt the demo wrapper's fixed width.

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-17

Alternatives

Other published entries for the navbar pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.