Referral Leaderboard
A centered coming-soon screen that gamifies pre-launch invites. A bordered, ranked list shows each member's avatar and invite count, with the top rank badged by a trophy icon and the viewer's own row highlighted, above a share button for the viewer's invite link.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/referral-leaderboard.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/coming-soon/comingsoon37.tsx instead.
Usage
The file also exports comingsoon37Demo, 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 { ComingSoon37, comingsoon37Demo } from "@/components/blocks/coming-soon/comingsoon37"; export default function Page() { return <ComingSoon37 {...comingsoon37Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Coming soon" | Small label above the heading. |
| heading | string | "Referral leaderboard" | Main heading. |
| description | string | "Invite friends before launch to climb the ranks..." | Supporting copy under the heading. |
| members | ReferralMember[] | none | Ranked members, in the order they should be displayed. |
| shareLabel | string | "Share your invite link" | Label for the share button. |
| className | string | none | Extra classes for the outer section element. |
Types
export interface ReferralMember { id: string; name: string; avatarSrc?: string; invites: number; isViewer?: boolean; }
Behavior notes
- Fully static Server Component, the list order and highlighted "you" row are just data passed in via props, nothing recalculates on the client.
- Avatars fall back to initials (via `initialsFromName`) when no `avatarSrc` is provided.
- The "Share your invite link" button is decorative with no onClick handler, same as other inert CTAs across the category.
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.