Tally Counter

New

A number on split-flap tiles that flip when it changes

$ npx @hritik-sharmaa/repeat-ui add text-effect-tally-counter
Category
Text Effect
Added
Nov 1, 2026
Version
1.0.0
Packages
motion
Flavors
TS · JS · Tailwind · CSS
Live preview
Customize
2048
4
48px
0.6s
import TextEffectTallyCounter from "@/components/repeat-ui/text-effect-tally-counter/preview";

<TextEffectTallyCounter />

Installation

  1. Run the command

    Adds the files and installs any packages they need. Works with npm, pnpm, yarn and bun.

    $ npx @hritik-sharmaa/repeat-ui add text-effect-tally-counter --variant ts-tailwind
  2. Use it

    The files are in components/repeat-ui/text-effect-tally-counter/.

    import TextEffectTallyCounter from "@/components/repeat-ui/text-effect-tally-counter/preview";
    
    export default function Page() {
      return <TextEffectTallyCounter />;
    }

Props

PropTypeDefaultDescription
valuenumber2048The number to show. Changing it flips the digits that differ.
minDigitsnumber4Pad with leading zeros to at least this many digits.
groupingbooleantruePut a comma between thousands.
fontSizenumber48Digit size in pixels.
colorstring"#fafafa"Digit colour.
tileColorstring"#171717"Tile colour.
durationnumber0.6Seconds per flip.
classNamestring""Extra classes for the root element.

More text effect

See all