Morphing Text
A dynamic canvas filtering effect that morphs text words into one another seamlessly horizontally or vertically.
Preview
Installation
pnpm dlx vibe-ui-kit@latest add morphing-text
Examples
Vertical Morph
Usage
import { MorphingText } from "@/components/ui/morphing-text"<MorphingText texts={["Hello", "World"]} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
texts | string[] | [] | Array of texts to morph between |
direction | "horizontal" | "vertical" | "horizontal" | Controls text layout orientation and motion direction |
className | string? | "" | Additional classes for the container |
This MorphingText component dynamically transitions between an array of text strings, creating a smooth, engaging visual effect.
Contributors
JS
Jenish Sabhadiya