vibran

Text roll button

Also called: slide up text

A text roll button. On hover, each letter slides up and out while the same letter slides in from below, one after another, like an airport departure board.

Preview of Text roll button running live
Copy the promptAdjust colors and speed

When to use it

A fine detail for menus, contact buttons and links on portfolio, agency or design studio sites. On long labels the letter-by-letter roll drags; keep labels to two or three words. Set data-passo="0" to roll everything at once, and --rolar-texto-2 to bring the incoming letters in a different color.

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:

<a href="#" data-efeito="botao-rolar-texto">Fale com a gente</a>

More buttons effects

All 41 buttons effects →