@quantabit/countdown-sdk
v1.0.2
Published
Universal countdown timer components: CountdownTimer, CountdownBanner, CountdownFlip with hooks
Maintainers
Readme
@quantabit/countdown-sdk
Universal countdown timer components for events, sales, and launches
Features
- CountdownTimer — Blocks, inline, or minimal format display
- CountdownBanner — Full-width promotional countdown banner
- CountdownFlip — Flip-card style countdown (large format)
- useCountdown — Hook with pause/resume/reset and completion callback
- useTimer — Stopwatch-style upward counting hook
- Time Utils — formatDuration, getTimeRemaining, isExpired
Quick Start
import { CountdownTimer, CountdownBanner, useCountdown } from '@quantabit/countdown-sdk';
// Block countdown
<CountdownTimer targetTime="2026-12-31T23:59:59Z" size="large" />
// Promotional banner
<CountdownBanner
targetTime="2026-04-01T00:00:00Z"
title="Token Sale Ends In"
actionText="Buy Now"
theme="gradient"
/>
// Hook
const { days, hours, minutes, seconds, expired } = useCountdown('2026-12-31');License
MIT © QuantaBit Team
🌐 Brand & Links
- Official Mainnet: QuantaBit Chain
- Developer Platform: Developer Platform
- Open Platform: Open Platform
- Payment Platform: Pay Platform
- Feedback: Feedback
