Updated
Waitlist Queue
ProCustomize
Start position2481
Boost500
Let in per day150/day
Accent
Installation
ProWaitlist Queue is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/waitlist-queue
Loading your installation…
Usage
import { WaitlistQueue } from "@/components/uibrik/waitlist-queue/waitlist-queue";const doneText = "You're in. We'll email you when your spot opens.";<WaitlistQueue defaultPosition={2481} boost={500} rate={150} accent="#6366f1" inviteUrl="https://example.com/r/you" doneText={doneText} onPositionChange={(position) => {}} onInvite={(email) => {}} // position={0} // avatars={["…"]} // you="…" // hint="…"/>Where to use Waitlist Queue
Referral waitlists
Watching the line run past you, faces and all, makes inviting a friend feel like progress, not a chore.
Pairs with Waitlist Input
Beta access pages
A controlled position from your server keeps the line honest while the block handles the motion.
Pairs with Announcement Pill
Launch confirmation screens
The page people land on after signing up shows where they stand and the one thing that moves them.
Pairs with Avatar Stack
Props
WaitlistQueue- defaultPosition
- Type number
- 2481
- Your place in line on mount, uncontrolled.
- boost
- Type number
- 500
- Places each invite moves you up when uncontrolled; also sets the tape's scale and the goal hint.
- rate
- Type number
- 150
- People let in per day, for the wait estimate. 0 hides it.
- accent
- Type string
- "#6366f1"
- You, the front of the line, the bar to it and the button.
- position
- Type number
- –
- Your place in line, controlled. 1 is the front.
- onPositionChange
- Type (position: number) => void
- –
- Called when an invite moves you up while uncontrolled.
- onInvite
- Type (email: string) => void | Promise<void>
- –
- Called with each invited email. A promise holds the button until it settles.
- avatars
- Type string[]
- SAMPLE_AVATARS
- Faces for the people standing on the tape. Empty shows ticks only.
- you
- Type string
- –
- Your own photo for the marker. Defaults to a "You" badge.
- inviteUrl
- Type string
- "https://example.com/r/you"
- Your link, for the copy button. Empty hides it.
- hint
- Type string
- –
- Line under the form. Defaults to the invites left to your next goal, such as the top 1,000.
- doneText
- Type string
- "You're in. We'll email you when your spot opens."
- Shown once you reach the front.
- className
- Type string
- –
- Classes for the wrapper.