Flip Words

A component that flips through a list of words.

API

Prop NameTypeDescription
wordsArrayAn array of words to be displayed and animated.
durationnumberDuration (in milliseconds) for each word to be displayed before flipping to the next word.
classstringAdditional CSS classes to apply to the component.

Component Code

You can copy and paste the following code to create these components:

FlipWords.vue

Credits