Animations
MorphingText
Blur-morph text animation that transitions between words.
Quick Preview
Build amazing products.
Installation
npm install framer-motion
// Copy component fromsrc/components/animations/MorphingText.tsx
Usage
import MorphingText from '@/components/animations/MorphingText'<MorphingTextwords={['Create', 'Design', 'Build', 'Ship']}intervalMs={2000}className="text-primary font-bold"/>
Examples
Single Large Word
Create
Number Morph
Score: 9.8/10
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
words* | string[] | - | Words to cycle through |
intervalMs | number | 2800 | Time between morphs in ms |
className | string | - | Additional CSS classes |