Rahil Vahora

TimeMorphClock

Component 12

About

A beautifully animated digital clock component that uses smooth SVG morphing transitions to display the current time. Each digit seamlessly transforms every second, creating a visually striking, modern timepiece perfect for landing pages, dashboards, or creative web projects.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds TimeMorphClock to your project and fits it to your theme.

Code

How TimeMorphClock is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TimeClock } from "@/components/ui/time-morph-clock";


export default function DemoOne() {
  return (
    <TimeClock
      // bg="#1A1A1A"              // dark background
      // accent="#FF4C4C"         // digit morph color
      // gradient="#FFE8E8"       // soft gradient color
      // className="w-full h-screen flex items-center justify-center"
      // use24h={false}           // switch to 12-hour format
      // tickMs={1000}            // update every second
    />
  );
}

Dependencies

More by Rahil Vahora

View all
  • PrismaHero

    PrismaHero

    3.5K
  • ScannerCardStream

    ScannerCardStream

    2.1K
  • CreditCardForm

    CreditCardForm

    1.5K
  • WaterRippleImage

    WaterRippleImage

    1.2K
  • Scroll Hero Section

    Scroll Hero Section

    980
  • AetherHero

    AetherHero

    639
  • Glass Video Hero

    Glass Video Hero

    541
  • TubeCursor

    TubeCursor

    531