About
A rectangular digital clock behind frosted glass, with a built-in focus timer. Set a session (15 min by default), start, pause or reset; the glass clears with a soft chime when time is up. A frost slider lets visitors choose how misty the glass is.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Frosted Digital Clock to your project and fits it to your theme.
Code
How Frosted Digital Clock is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { FrostedDigitalClock } from "@/components/ui/frosted-digital-clock";
const settings = {
width: 640,
faceColor: "#D0D0D0",
frameColor: "#141414",
digitColor: "#262626",
glow: false,
frost: 1.6,
showFrostControl: true,
showFocus: true,
focusMinutes: 15,
focusStep: 5,
sound: true,
hour12: false,
showSeconds: true,
showDate: true,
blinkColon: true,
clearOnHover: true,
shadow: true,
timeZone: "",
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return <FrostedDigitalClock {...s} timeZone={s.timeZone || undefined} className="min-h-screen" />;
}








