Waitlist Queue Position
A centered confirmation card shown after joining a waitlist: a monospace eyebrow, an oversized queue-position number, a progress bar showing how close the visitor is to the front of the line, and a referral row with a real copy-to-clipboard invite link 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/waitlist-queue-position.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/coming-soon/comingsoon17.tsx instead.
Usage
The file also exports comingsoon17Demo, 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 { ComingSoon17, comingsoon17Demo } from "@/components/blocks/coming-soon/comingsoon17"; export default function Page() { return <ComingSoon17 {...comingsoon17Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "(you're on the list)" | Monospace label above the heading. |
| heading | string | "Thanks for signing up" | Card heading. |
| description | string | "We'll email you the moment it's your turn..." | Supporting copy under the heading. |
| queuePosition | string | "#248" | Static queue-position number to display. |
| progressPercent | number | 62 | Progress-to-front bar fill percentage, clamped to 0-100. |
| progressLabel | string | "Distance to the front" | Label above the progress bar. |
| referralUrl | string | "https://example.com/invite/a1b2c3" | Invite link shown in the referral row and copied to the clipboard. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- The "Copy link" button is real client state: it calls navigator.clipboard.writeText(referralUrl) and swaps its label/icon to "Copied" (useState), it does not revert back automatically.
- The queue position and progress bar percentage are both static props, no timer or animation moves them.
- The referral URL text truncates with `truncate` rather than wrapping, so long links stay on one line inside the pill.
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.