Component packs › Parcel › Liquid Stars
The stars hold liquid and fill to the exact average with a sloshing surface; bars grow, filter the reviews, and the rating input pours as you hover.
Liquid Stars is a reviews from Parcel, a component pack with 8 components: E-commerce components where every product turns, packs and travels. Price: $2 for the whole pack.
Built with: fractional fill, filter bars, rating radio.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
counts | [number, number, number, number, number] | Count of reviews per star, from 5 down to 1. | |
reviews | StarReview[] | ||
onRate | (stars: number) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: filters and rates until touched. |
readonly rating: numberdestroy(): voidimport LiquidStars from './LiquidStars';
<LiquidStars />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: E-commerce UI components.