Animated Waitlist Stats
A centered coming-soon screen with a supporting row of statistics (waitlist size, countries, testers, days to launch) that animate from zero up to their target value the moment the row scrolls into the viewport, followed by a decorative dark call-to-action button.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/animated-waitlist-stats.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/coming-soon/comingsoon45.tsx instead.
Usage
The file also exports comingsoon45Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { ComingSoon45, comingsoon45Demo } from "@/components/blocks/coming-soon/comingsoon45"; export default function Page() { return <ComingSoon45 {...comingsoon45Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Coming soon" | Small label above the heading. |
| heading | string | "The waitlist is already growing" | Main heading. |
| description | string | "We're putting the finishing touches..." | Supporting copy under the heading. |
| stats | WaitlistStat[] | none | Stat items, each counts up from 0 to its value. |
| ctaLabel | string | "Claim your seat" | Label on the dark CTA button. |
| ctaHref | string | "#" | Link target for the CTA button. |
| className | string | none | Extra classes for the outer section element. |
Types
export interface WaitlistStat { label: string; value: number; suffix?: string; }
Behavior notes
- Each stat is real client state: an IntersectionObserver on that stat's wrapper starts a requestAnimationFrame count-up from 0 to its target value the first time it enters the viewport, and only once (a ref guards against re-triggering on subsequent scrolls).
- No Date.now() or Math.random() is used, the animation progress is driven by performance.now() timestamps inside the rAF loop, not render-time calls.
- The "Claim your seat" button is a decorative link (`render={<Link href={ctaHref} />}`), it has no submit behavior.
More Coming Soon Blocks
View all →countdown-timer-launch
Countdown Timer Launch
A centered launch page with a live days/hours/minutes/seconds countdown to a target date.
development-progress-milestones
Development Progress Milestones
A centered launch page with an overall progress bar and a milestone tracker list with status badges.
social-connect-launch
Social Connect Launch
A centered coming-soon page with pill-style outline buttons linking out to Twitter, GitHub, LinkedIn, and email.
animated-icons-preview
Animated Icons Preview
A centered coming-soon page with a row of bobbing icon tiles and a pulsing build-status indicator.
sneak-peek-feature-grid
Sneak Peek Feature Grid
A centered coming-soon page with a grid of blurred feature cards teased behind a lock icon overlay.
waitlist-with-avatars
Waitlist with Avatars
A centered coming-soon page with a working waitlist signup form, stacked subscriber avatars, and a live join count.