Try 'magnetic button'

Number 23: Star rating that previews

Notes

Specification

Catalogue
No. 23 of 110
Interaction
Hover, Feedback
Element
Input
Preview
Live component
Added

Notes

Stars rise and fill under the pointer as a preview, and the rating is kept only when chosen.

The visitor sees what they are about to give before they give it, and the word for each score is written out. It is a real radio group, so arrow keys work.

Preview stars rise 3px with a slight overshoot, 25ms apart. Five native radios; arrow keys change the score. Filled stars in the brand colour, words for each score.

Code

The code for this component is coming soon.

Until then, the preview above is the full working component.

More like this

Select with a gliding highlight

HoverForms and inputs

Form in named steps

Type, FeedbackForms and inputs

Cookie choice that folds away

FeedbackOverlays and toasts

Sign-up form that waits before it complains

Type, FeedbackForms and inputs

File upload with progress per file

Loading, FeedbackForms and inputs

Button that shows its own progress

Press, LoadingButtons and toggles