GooseUI

Animated Timer

Beautiful animated clock with smoothly sliding digits and gradient border

Preview

0
0
:
0
0
:
0
0

Installation

npm
pnpm
yarn
bun
npx shadcn@latest add @gooseui/animated-timer

Usage

import { AnimatedTimer } from "@/components/ui/animated-timer"

export default function Page() {
  return <AnimatedTimer />
}

Examples

Without seconds

0
0
:
0
0
<AnimatedTimer showSeconds={false} />

12-hour format

0
0
:
0
0
:
0
0
<AnimatedTimer use24Hour={false} />

Props

PropTypeDefaultDescription
showSecondsbooleantrueShow seconds
use24Hourbooleantrue24-hour format
classNamestring-Additional classes