Skip to main content

Installation

    Usage

    showLineNumbers
    import { TextReveal } from "@/components/ui/text-reveal"
    
    showLineNumbers
    <TextReveal>Magic UI will change the way you design.</TextReveal>
    

    Props

    PropTypeDefaultDescription
    childrenstring-The text to be revealed on scroll
    classNamestring-The class name to be applied to the component

    Build docs developers (and LLMs) love