Star rating
Also called: review stars
Five stars that light up in sequence on hover and burst with sparks on click, with a phrase for each rating. It can also display an average with a partly filled star. Works with the keyboard arrow keys.

When to use it
Satisfaction surveys, product reviews, feedback after a purchase or support chat. With data-leitura="sim" and data-valor="4.6" the same piece displays a product's average. Use the avaliacao event to send the rating and write the data-textos phrases in your brand voice.
How to add it to your site
- Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- Done: the AI adds the effect to your project, just like you saw it here.
Use it in HTML
The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:
<div data-efeito="estrelas-avaliacao" data-rotulo="Como foi o atendimento?" data-textos="Ruim,Fraco,Bom,Muito bom,Excelente"></div>
More inputs effects
- Expanding search barBusca que se expande
- Glowing inputAI prompt box
- Line draw inputunderline input animation
- Floating label inputCampo com rótulo flutuante
- Tag inputchips input
- Credit card formflip card on CVV
- OTP inputverification code input
- Liquid toggle switchgooey switch