Dev Design Library

Star Rating

An animated star rating input with hover-preview wave, pop and sparkle burst on commit, rolling value label, and fractional read-only display.

Star Rating preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
framer-motion
Install
npx shadcn@latest add @spectrumui/star-rating
Files
  • app/registry/star-rating/star-rating.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI