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.

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
- 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:
Fazemos <span data-efeito="troca-palavra" data-palavras="sites|lojas|sistemas">sites</span>
Sites that use this effect
- Caixa CertoSaaS
- Casa BlocoArchitecture
- FeirinhaMobile app
- Pulso TreinoGym
More text effects
- Text shimmerBrilho no texto
- Number tickerContador animado
- Physics falling textgravity letters
- Wave textsplit text
- Text scrambleLetras embaralhando
- Scatter textrepel letters
- Line mask reveal on scrollLinhas que sobem com a rolagem
- Scroll velocity marqueekinetic headline ticker