Skip to content

Rating

Renders a star rating component with interactive buttons. It allows users to select a rating using mouse or keyboard. It shows hover effects and focuses on selected stars. Use it to collect user ratings in forms or reviews.

byShadcnblocks.comfrom Kibo UI

Loading preview

Installation

terminal
pnpm dlx layro-cli add @shadcnblocks/rating

New project? Start with init. Writes third-party code and installs packages with scripts off.

Code

Demo

Sign in to see the code

Free, with GitHub, Google or email. The install command above works without an account.

Sign in

Versions

  1. 1.0.0 · current

    Nov 7, 2026

    First release.

Similar components