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

03Keyboard arrow select — the selected star's order value increases or decreases by one for each pressed direction value

Each right or left arrow key press increases or decreases the selected star's order value by one, and once that value passes either end of the range it stops at the end value.

Best forAn accessible star rating input used without a mouse, a survey form operated by keyboard only

tick() / animateTo(t)display += (target - display) * 0.2seq = [4, 5, 3, 1, 0, 2, 3]
Keyboard arrow select — the selected star's order value increases or decreases by one for each pressed direction value
Open in a new tab

03 Keyboard arrow select — the selected star's order value increases or decreases by one for each pressed direction value — Measured area 3.694% · moving frames 16/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