Skip to main content

Installation

    Usage

    showLineNumbers
    import { MorphingText } from "@/components/ui/morphing-text"
    
    showLineNumbers
    <MorphingText texts={["Hello", "World"]} />
    

    Props

    PropTypeDefaultDescription
    textsstring[][]Array of texts to morph between
    classNamestring""Additional classes for the container
    This MorphingText component dynamically transitions between an array of text strings, creating a smooth, engaging visual effect.

    Credits

    Build docs developers (and LLMs) love