Skip to main content

Installation

    Example

    Decimal

    Start Value

    Usage

    showLineNumbers
    import { NumberTicker } from "@/components/ui/number-ticker"
    
    showLineNumbers
    <NumberTicker value={100} />
    

    Props

    PropTypeDefaultDescription
    valuenumber0The value to count to
    directionup | down"up"The direction to count in
    delaynumber0The delay before counting
    decimalPlacesnumber0The number of decimal places to show
    startValuenumber0The value to start counting from

    Build docs developers (and LLMs) love