Flip Words
3D spinning text that flips through words.
Preview
Interactive Preview
Build
beautifulmodernscalablelightning fast
interfaces with Orix
Installation
Usage
tsx
import { FlipWords } from "@/components/ui/flip-words"
export default function Demo() {
return (
<div className="text-4xl font-bold text-black dark:text-white">
Build
<FlipWords words={["better", "faster", "beautiful", "modern"]} />
websites
</div>
)
}Props
| Prop | Type | Default |
|---|---|---|
| words | string[] | - |
| duration | number | 2000 |