Skip to main content

Installation

    Usage

    showLineNumbers
    import { HyperText } from "@/components/ui/hyper-text"
    
    showLineNumbers
    <HyperText>Hover me</HyperText>
    

    Props

    PropTypeDefaultDescription
    childrenstring-Text content to animate
    classNamestring-The class name to be applied to the component
    durationnumber800Duration of the animation in milliseconds
    delaynumber0Delay before animation starts (in ms)
    asReact.ElementType"div"Component to render as
    startOnViewbooleanfalseStart animation when component is in view
    animateOnHoverbooleantrueEnable hover animation
    characterSetstring[]A-ZCustom character set for scramble effect

    Build docs developers (and LLMs) love