Getting Started
Components
Special Effects
Animations
Text Animations
Backgrounds
import { WordRotate } from "@/components/ui/word-rotate"<WordRotate words={["Word", "Rotate"]} />| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | The class name to be applied to the component |
duration | number | 2500 | Duration of the animation |
words | string[] | "" | An array of words to rotate through |
motionProps | HTMLMotionProps | {} | An object containing motion animation props |