Survey Waitlist
A centered card-style coming-soon screen that pairs a one-question survey with a waitlist signup. Visitors pick a single option to tell you what matters most, then join the waitlist with a real email form that shows a success state on submit.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/survey-waitlist.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/coming-soon/comingsoon43.tsx instead.
Usage
The file also exports comingsoon43Demo, 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 { ComingSoon43, comingsoon43Demo } from "@/components/blocks/coming-soon/comingsoon43"; export default function Page() { return <ComingSoon43 {...comingsoon43Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Coming soon" | Small label above the heading. |
| heading | string | "Help us build the right thing" | Main card heading. |
| description | string | "We're putting the finishing touches..." | Supporting copy under the heading. |
| question | string | none | The survey question shown above the options. |
| options | SurveyOption[] | none | Selectable single-choice survey options. |
| className | string | none | Extra classes for the outer section element. |
Types
export interface SurveyOption { id: string; label: string; }
Behavior notes
- The survey selection is real client state (useState) backed by a native radio group (visually hidden inputs, styled label siblings), only one option can be selected at a time.
- The email form is real client state too: submitting sets a separate `submitted` state and swaps the form for a success message, nothing is sent over the network.
- Both interactions share the same client component but track independent state, selecting a survey option does not submit the form and vice versa.
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.