Getting Started
Components
Special Effects
Animations
Text Animations
Backgrounds
import { MorphingText } from "@/components/ui/morphing-text"
<MorphingText texts={["Hello", "World"]} />
Prop | Type | Default | Description |
---|---|---|---|
texts | string[] | [] | Array of texts to morph between |
className | string? | "" | Additional classes for the container |
This MorphingText
component dynamically transitions between an array of text strings, creating a smooth, engaging visual effect.