Creating a Text Cycle Animation in Framer (Looping Method)

Learn how to build a seamless, infinitely looping text cycle animation in Framer using the looping method, with no code.

・

・

14 minutes

Creating a Text Cycle Animation in Framer (Looping Method)

Learn how to build a seamless, infinitely looping text cycle animation in Framer using the looping method, with no code.

・

・

14 minutes

In this video I show you how to build a text cycle animation in Framer, where the end of a sentence keeps switching between different words. We don't write any code. The technique works for basically any looping animation, not only this one.

First we build the base, a stack of text layers with a fixed height so only one word shows at a time. We try the loop effect and see the jump that happens when the loop restarts. The fix is to duplicate the first word at the end, so the first and last text match and the reset can't be seen.

Then we turn it into a component with variants, so each word stops and waits before the next one comes in. We connect the variants with appear interactions and a delay. The last step goes back to variant one with an instant transition, and we split the delay between the last two steps so every word waits the same time.

If you want to look into the project file or copy the component, you can remix the tutorial project.

In this video I show you how to build a text cycle animation in Framer, where the end of a sentence keeps switching between different words. We don't write any code. The technique works for basically any looping animation, not only this one.

First we build the base, a stack of text layers with a fixed height so only one word shows at a time. We try the loop effect and see the jump that happens when the loop restarts. The fix is to duplicate the first word at the end, so the first and last text match and the reset can't be seen.

Then we turn it into a component with variants, so each word stops and waits before the next one comes in. We connect the variants with appear interactions and a delay. The last step goes back to variant one with an instant transition, and we split the delay between the last two steps so every word waits the same time.

If you want to look into the project file or copy the component, you can remix the tutorial project.

FAQs

  • How do I make a text cycle animation in Framer?

    Put your words in a vertical stack of text layers inside a frame that is only as tall as one line, and set its overflow to hidden. Then move the stack up, either with the loop effect or with component variants. With variants, each word stops for a moment before the next one moves in.

  • Why does my looping animation jump when it restarts in Framer?

    It jumps because the first and last thing you see in the loop are not the same. When the loop resets, the view snaps back to the start. The fix is to duplicate the first word and add it at the end, so the reset happens between two identical frames and nobody notices it.

  • How do I make component variants loop automatically in Framer?

    Use the appear interaction. Connect each variant to the next one on appear with a small delay, and connect the last variant back to variant one. Remember to remove the appear interactions that get copied to all variants when you add one on the primary variant.

  • How do I avoid the reverse animation when a variant loop resets in Framer?

    Set the transition on variant one to instant, so going from the last variant back to the first happens with no animation. Since the last and first variants show the same word, the switch is invisible. Keep the transitions on all the other variants as spring.

  • Why does the last word wait longer in my Framer variant loop?

    Because there is a delay going into the last variant and another delay going from it back to variant one, so you wait twice. Split the delay in half for those two steps. For example, if the normal delay is 1 second, use 0.5 seconds on each of them.

More Interaction tutorials

Watch a Framer Expert Build an Interaction from Scratch

Talent agency banner: models, influencers, athletes, entertainers, gamers

The LAZIEST Way to Animate Icons in Framer...

⁠Goodbye After Effects thumbnail with crying emojis

NEW in Framer: Dark/Light Mode Toggles

Dark and light mode toggle with moon and sun icons

Turning a Figma Prototype Into a REAL Website

figma UI card to real website

This Navigation in Framer Hits Different...

Dark UI menu with send, add, invoice, card options

More Interaction tutorials

Watch a Framer Expert Build an Interaction from Scratch

Talent agency banner: models, influencers, athletes, entertainers, gamers

The LAZIEST Way to Animate Icons in Framer...

⁠Goodbye After Effects thumbnail with crying emojis

NEW in Framer: Dark/Light Mode Toggles

Dark and light mode toggle with moon and sun icons

Turning a Figma Prototype Into a REAL Website

figma UI card to real website

This Navigation in Framer Hits Different...

Dark UI menu with send, add, invoice, card options