Behive Tech Registry

Rating Stars

v0.0.0

A read-only star rating. Fractional values are drawn with a clipped fill rather than rounded to a half, so 4.3 and 4.7 look different. The stars are decorative — the value is announced once through an `aria-label`.

pnpm add @acme/atoms.rating-stars

Edit the code and the preview updates as you type. Every registry export is in scope — RatingStars from this package, plus React hooks and every other component in the registry.

Playground
const BasicRatingStars = () => <RatingStars value={4} />;

render(<BasicRatingStars />);