Skins UI

Pixel counter

Pixel digits in your colour that tick to each value in hard steps.

$12,480

Customize

Props
Size
Value
12480

Installation

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

Usage

usage.tsx
import { Counter } from "@/components/skins/counter-pixel";<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.