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.



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 | flagged at 375 |
| Axe critical | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 32.0 KB (97.5 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | @radix-ui/react-use-controllable-state, lucide-react, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
Author repository
github.com/shadcnblocks/kiboAlternatives
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.
- hyperui-headers-4editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 19.1KB
- Bare
- pass
- Prov
- NO
- kibo-dialog-stackminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 33.4KB
- Bare
- pass
- Prov
- NO
- ruixen-floating-navbarunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 59.9KB
- Bare
- pass
- Prov
- NO
- ruixen-hover-gradient-navbargradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 60.9KB
- Bare
- pass
- Prov
- NO
- ruixen-expandable-menu-navbarunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 61.8KB
- Bare
- pass
- Prov
- NO
- hextaui-cardminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 26.7KB
- Bare
- fail
- Prov
- NO