Quick Example

NumberTicker Usage

ตัวอย่าง import และการใช้งานแบบสั้นสำหรับหน้า `number-ticker`

Code

                <script lang="ts">
 import { NumberTicker } from 'sv5ui-plus';
</script>

<NumberTicker value={100} duration={2000} />
            

NumberTicker

An animated counter that smoothly transitions from zero to a target number.

Usage

Simply provide a value. It will automatically format with commas.

0
Total Users

Decimals & Duration

Use decimals for floating point numbers and duration to control speed.

$0.00M
Revenue