Skins UI

Roll counter

Plain digits that roll into place, fading in and out at the edges.

$12,480

Customize

Props
Size
Value
12480

Installation

npx shadcn@latest add https://skinsui.dev/r/counter-roll.json

Usage

usage.tsx
import { Counter } from "@/components/skins/counter-roll";<Counter value={12480} prefix="$" />

Props

  • value0
    number

    The number to show. Each digit rolls when it changes.

  • prefixNone
    string

    Text before the number, such as a currency sign.

  • suffixNone
    string

    Text after the number, such as a unit.

  • size"lg"
    "md" | "lg" | "xl"

    32, 48 or 72 pixels.