Word Rotate
Words that rotate vertically with a slide animation.
npx arupui add word-rotate
Preview
We make things beautiful
Usage
word-rotate.tsx
import { WordRotate } from "@/components/blocks/word-rotate"
<p>We make things <WordRotate words={["beautiful", "fast"]} /></p>Props
| Prop | Type | Default |
|---|---|---|
words | string[] | - |
interval | number | 2500 |
wordsType:
string[]Default: -intervalType:
numberDefault: 2500