213
A split-flap countdown where each changed digit's top flap falls away under gravity, darkening as it turns, and the new lower flap lands with one small rebound.
akasplit flap·countdown·flip counter
Run this in any project set up for the shadcn CLI. It copies the Flip Clock source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/flip-clock.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { FlipDigit } from "@/components/flip-clock";
export default function Page() {
return <FlipDigit />;
}A free React motion component in the Text collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Flip Clock source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| valuerequired | string | — |
| className | string | — |