Chun Keat Lim

Frosted Clock

Component 3

About

A round wall clock behind frosted glass. The hands sit deep and blurred, with sharper tips near the glass, and the frost clears when you hover. Change the face, rim and hand colours, frost amount, seconds hand and time zone.

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

Code

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

Usage.tsx

"use client";

import { FrostedClock } from "@/components/ui/frosted-clock";

const settings = {
  size: 520,
  faceColor: "#D0D0D0",
  rimColor: "#141414",
  handColor: "#2A2A2A",
  secondHandColor: "#E8692C",
  frost: 1,
  showSeconds: false,
  smoothSeconds: true,
  clearOnHover: true,
  shadow: true,
  timeZone: "",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return <FrostedClock {...s} timeZone={s.timeZone || undefined} className="min-h-screen" />;
}

More by Chun Keat Lim

View all
  • Translucent Cassette Player

    Translucent Cassette Player

    96
  • Retro AI Chat

    Retro AI Chat

    43
  • Turntable

    Turntable

    24
  • Chroma Sense Hero

    Chroma Sense Hero

    22
  • DJ Controller

    DJ Controller

    11
  • Ink Grid Hero

    Ink Grid Hero

    10
  • Frosted Digital Clock

    Frosted Digital Clock

    9
  • Portable CD Player

    Portable CD Player

    9