Kateryna Tkachuk

ScatterClock

Heroes

About

A clock counts up to a set time, then shatters into a rain of small falling digits as you scroll — the sage backdrop darkens to black and the digits turn silver, gathering back into the number when you scroll up. A scroll-driven hero / intro.

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

Code

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

Usage.tsx

'use client';

import ScatterClock from "@/components/ui/scatter-clock";

const settings = {
  targetTime: '7:00',
  countDurationMs: 1600,
  baseColor: '#bcc4bd',
  textColor: '#424942',
  silverColor: '#ebeeff',
  scrollLengthVh: 220,
};

// ONLY DEFAULT EXPORT WILL BE TREATED AS A DEMO
export default function DemoOne(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return <ScatterClock {...s} />;
}

More by Kateryna Tkachuk

View all
  • Digit Stream

    Digit Stream

    132
  • Lamp

    Lamp

    28
  • Mixtape Hero

    Mixtape Hero

  • Soft Focus Clock

    Soft Focus Clock

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K
  • Hero 03

    Hero 03

    358
  • HeroSectionWithGradient

    HeroSectionWithGradient

    373
  • Home Section

    Home Section

    75
  • Aero Hero-3

    Aero Hero-3

    607