A live countdown to a target date — DD : HH : MM : SS with tabular numerals, smooth digit flip, and customisable label.
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"
/>
);
}label (top label), targetIso (ISO target date), expiredLabel, fallbackSeconds (countdown length if targetIso is empty).showDays, showLabels (per-unit DAYS/HRS/MIN/SEC captions).textColor, labelColor, digitSize (px), headingFontFamily (Google font, default JetBrains Mono), headingFontWeight.transparentBackground, bgColor.npm install @crazygl/hero-local-live-timerThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import LocalLiveTimer from '@crazygl/hero-local-live-timer';
export default function Landing() {
return (
<LocalLiveTimer />
);
}The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';
import LocalLiveTimer from '@crazygl/hero-local-live-timer';
export default function Page() {
return (
<section>
<LocalLiveTimer
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}