Invite Code Access
A centered coming-soon card on a soft muted surface, built for a private-beta gate. Visitors can redeem an invite code through a working form with a success state, or fall back to a decorative "Join the waitlist instead" pill link if they don't have one.
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/invite-code-access.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/coming-soon/comingsoon34.tsx instead.
Usage
The file also exports comingsoon34Demo, 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 { ComingSoon34, comingsoon34Demo } from "@/components/blocks/coming-soon/comingsoon34"; export default function Page() { return <ComingSoon34 {...comingsoon34Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "(coming soon)" | Monospace label above the heading. |
| heading | string | "Private beta access" | Main heading. |
| description | string | "We're rolling out access in small batches..." | Supporting copy under the heading. |
| waitlistLabel | string | "Join the waitlist instead" | Label for the decorative fallback link. |
| waitlistHref | string | "#" | Link target for the fallback waitlist link. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- The invite-code form is real client state: submitting any non-empty code sets a `submitted` flag and swaps in a confirmation message, there's no real validation against a code list.
- The "Join the waitlist instead" pill is a plain decorative link (`render={<Link href={waitlistHref} />}`) with a placeholder href, nothing is submitted.
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.