Installation
Run the following command
npx shadcn@latest add @aceternity/flip-words
Props
Prop | Type | Default | Description |
---|---|---|---|
words | string[] | N/A | An array of words to be displayed and animated. |
duration | number | 3000 | Duration (in milliseconds) for each word to be displayed before flipping to the next word. |
className | string | N/A | Additional CSS classes to apply to the component. |
This component is inspired by the words animation on Antimetal's website.
Build websites faster and 10x better than your competitors with
Aceternity UI Pro
Next.js 15, Tailwind CSS v4 and Motion for react powered templates
70+ templates and component blocks combined
Ready to copy paste component blocks, save days of development time

