@crazygl/hero-local-live-timer
v0.1.1
Published
Local Live Timer — A live countdown to a target date — DD : HH : MM : SS with tabular numerals, smooth digit flip, and customisable label. A customizable CrazyGL animated hero section — WebGL, React, drop-in.
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-local-live-timer
A live countdown to a target date — DD : HH : MM : SS with tabular numerals, smooth digit flip, and customisable label.
Demo
Install
npm install @crazygl/hero-local-live-timerUsage
import LocalLiveTimer from '@crazygl/hero-local-live-timer';
export default function Page() {
return (
<LocalLiveTimer
label="LAUNCHING IN"
targetIso="2026-12-31T23:59:59Z"
expiredLabel="LIVE NOW"
/>
);
}Customise
- Content —
label(top label),targetIso(ISO target date),expiredLabel,fallbackSeconds(countdown length iftargetIsois empty). - Display —
showDays,showLabels(per-unit DAYS/HRS/MIN/SEC captions). - Typography —
textColor,labelColor,digitSize(px),headingFontFamily(Google font, default JetBrains Mono),headingFontWeight. - Backdrop —
transparentBackground,bgColor.
Best for
- Product launch and pre-order pages with a hard deadline
- Webinar, drop, sale or event countdowns
- Waitlist / "coming soon" landing pages
- Any section that needs a precise, monospaced ticking timer
This hero is part of CrazyGL, a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready SKILL.md file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.
