Skip to main content

Installation

    Usage

    showLineNumbers
    import { SparklesText } from "@/components/ui/sparkles-text"
    
    showLineNumbers
    <SparklesText>Sparkles Text</SparklesText>
    

    Props

    PropTypeDefaultDescription
    childrenReactNode-The content to display
    classNamestring-The class name to be applied to the sparkles text.
    sparklesCountnumber10sparkles count that appears on the text
    colorsobject{first: '#9E7AFF', second: '#FE8BBB'}the sparkles colors

    Credits

    Build docs developers (and LLMs) love