Star Rating Fill

HTML to video · A number or a chart · Apache-2.0

What it does

A token-driven star row whose colored layer sweeps to a rating, preserves the fractional final star, and can count the value in sync.

Get it

Copy it, or npx hyperframes add star-rating-fill, to compositions/components/star-rating-fill.html and mount it as a sub-composition; it brings its own timeline. 3 settings to change.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net).

Re-skin

By props (colors, type, numbers)

Declared variables: rating, starCount, showValue. Colors and type come from theme custom properties with fallbacks (--bg, --brand, --fg, --font-display, --muted, --space-2, 7 in all), so a :root block or one of the three themes re-skins it.

License

Apache-2.0

License notes are on the pack's page

From

HyperFrames

Everything from HyperFrames in the gallery

Back to the Asset Library