vibran

Word rotate

Also called: flip words

A word rotate effect. One word in the sentence cycles through a set of options, and its width adjusts on its own for each one.

Preview of Word rotate running live
Copy the promptAdjust colors and speed

When to use it

Good for showing the range a business covers: "We build sites | shops | systems", "Cuts for grooms | graduates | kids". The changing word can't be the only way people learn what you do. Raise data-intervalo to give time to read, and keep the words a similar length.

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:

Fazemos <span data-efeito="troca-palavra" data-palavras="sites|lojas|sistemas">sites</span>

Sites that use this effect

More text effects

All 27 text effects →