vibran

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.

Preview of Star rating running live
Copy the promptAdjust colors and speed

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

  1. 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.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. 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

All 14 inputs effects →