Container Text Flip
A container that flips through words, animating the width.
Install using CLI
Install Manually
Copy and paste the following code
ContainerTextFlip.vue
Example
Standard
Hero section with animation
API
Prop Name | Type | Default | Description |
---|---|---|---|
words | string[] | ["better", "modern", "beautiful", "awesome"] | Array of words to cycle through in the animation |
interval | number | 3000 | Time in milliseconds between word transitions |
animationDuration | number | 700 | Duration of the transition animation in milliseconds |
class | string | `` | Additional CSS classes to apply to the container |
textClass | string | `` | Additional CSS classes to apply to the text |
Credits
- Credits to Whbbit1999 for this component.
- Ported from Aceternity UI Container Text Flip.