Skip to main content
Animate through a list of words with smooth flip transitions.

Usage

<FlipWords
  :words="['amazing', 'fantastic', 'incredible']"
  :duration="2000"
/>

Props

words
Array
An array of words to be displayed and animated.
duration
number
Duration (in milliseconds) for each word to be displayed before flipping to the next word.
class
string
Additional CSS classes to apply to the component.

Credits

Build docs developers (and LLMs) love