About
A sand-timer widget you flip to start a countdown: an animated hourglass with falling grains, a rolling-digit time readout, preset length picker and pause/resume/flip controls. Ported from Sina UI's Svelte "Hourglass" widget by ebnsina (MIT licensed).
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hourglass Timer to your project and fits it to your theme.
Code
How Hourglass Timer is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Hourglass from "@/components/ui/hourglass";
export default function HourglassDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-[var(--ui-bg,#fff)] p-6">
<Hourglass label="Sand timer" seconds={60} />
</div>
);
}








