Skip to main content

Installation

    Examples

    Custom Speed

    Usage

    showLineNumbers
    import { AnimatedGradientText } from "@/components/ui/animated-gradient-text"
    
    showLineNumbers
    <AnimatedGradientText>Animated Gradient Text</AnimatedGradientText>
    

    Props

    PropTypeDefaultDescription
    childrenReactNode-The children passed into the component
    classNamestring-The class name to be applied
    speednumber1The speed of the gradient animation
    colorFromstring"#ffaa40"The starting color of the gradient
    colorTostring"#9c40ff"The ending color of the gradient

    Build docs developers (and LLMs) love