GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

09Touch drag scrub — the filled value updates in real time following the finger's horizontal position value

While a finger stays pressed and moves across the star row, the filled value follows that changing horizontal position value on the same screen, and once the finger lifts, the value locks in as the selected value.

Best forFast star rating input on a mobile screen, a review form rated by scrubbing a finger across it

runInertia() — velocity *= 0.945Math.abs(velocity) > 0.015onDown/onMove — pointerId capture
Touch drag scrub — the filled value updates in real time following the finger's horizontal position value
Open in a new tab

09 Touch drag scrub — the filled value updates in real time following the finger's horizontal position value — Measured area 4.96% · moving frames 17/23Original by GODRICH · SCSS and React ship in the zip · Star Rating UI: 9 Interactive Rating Patterns

The post this demo lives in

Star Rating UI: 9 Interactive Rating Patterns - preview of all 9 demosStar Rating UI: 9 Interactive Rating PatternsOne fill value follows the finger's position value in real time, one overlays an average's decimal part on a star, and o See all demos in this post

If you like this effect - similar demos