Staaarter

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.

By Staaarter Team
Coming Soon
Docs
Live preview

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.json

Prefer 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

PropTypeDefaultDescription
eyebrowstring"(you're on the list)"Monospace label above the heading.
headingstring"Thanks for signing up"Card heading.
descriptionstring"We'll email you the moment it's your turn..."Supporting copy under the heading.
queuePositionstring"#248"Static queue-position number to display.
progressPercentnumber62Progress-to-front bar fill percentage, clamped to 0-100.
progressLabelstring"Distance to the front"Label above the progress bar.
referralUrlstring"https://example.com/invite/a1b2c3"Invite link shown in the referral row and copied to the clipboard.
classNamestringnoneExtra 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.