Flip counter
Each digit on its own dark tile, split across the middle like a flip board.
$12,480
Customize
Props
Size
Value12480
Installation
npx shadcn@latest add https://skinsui.dev/r/counter-flip.jsonUsage
usage.tsx
import { Counter } from "@/components/skins/counter-flip";<Counter value={12480} prefix="$" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | 0 | The number to show. Each digit rolls when it changes. |
| prefix | string | None | Text before the number, such as a currency sign. |
| suffix | string | None | Text after the number, such as a unit. |
| size | "md" | "lg" | "xl" | "lg" | 32, 48 or 72 pixels. |
- value0
numberThe number to show. Each digit rolls when it changes.
- prefixNone
stringText before the number, such as a currency sign.
- suffixNone
stringText after the number, such as a unit.
- size"lg"
"md" | "lg" | "xl"32, 48 or 72 pixels.