Add a waitlist to a v0 project without a Next.js route to maintain
v0 generates Next.js apps with React, TypeScript, Tailwind and shadcn/ui, and publishes them to Vercel. A signup form in that stack usually turns into a route handler, a server action, a database integration and an environment variable for the mail provider. Each piece is ordinary Next.js, and together they are the part of the launch most likely to fail on the first deploy.
This guide keeps the Next.js project for the product and lets LaunchSuite collect the signups. You add one client component that shows the LaunchSuite form, publish with the Publish button in v0, and the list, the confirmation emails and the referral links sit in your LaunchSuite project.
What gets in the way
- A form that needs a server action is a deploy dependency
- A server action or route handler that stores signups runs on Vercel with the rest of the app. If it reads an environment variable that the production project doesn't have, the form works in the v0 preview and fails on the live URL. Moving the form to LaunchSuite removes that difference between the preview and production.
- Database choices come before the launch
- Adding a database through a Vercel integration is a sensible call for a product that has users. For a waitlist it means choosing a provider, creating a schema, writing a migration and deciding who can read the table, all before the landing page has a headline that works. LaunchSuite keeps the list in a project you can edit without writing SQL.
- Mail is a separate account to wire up
- A confirmation email from a Next.js app needs a mail provider, an API key in the Vercel project, a verified sending domain and a template. Each of those is a place where a launch can stall. Every signup on LaunchSuite's Free plan gets the default confirmation email from LaunchSuite's sending address, with no key in your project.
- Referrals would live in your app code
- A referral waitlist needs a link per signup, a count of who joined through each link and a way to show the top referrers. In a Next.js app that is a set of routes, a table of referrals and a page for the leaderboard. Referral links, per-contact referral counts and the leaderboard are on LaunchSuite's Pro plan, and the app code doesn't change when the referral numbers move.
- Launch numbers need their own dashboard
- Vercel's own analytics show requests to your app, not how many people joined a waitlist from which site. LaunchSuite's analytics show visitors, signups, conversion rate and the referring sites, with countries and devices. There is no UTM report, so tag each link yourself and compare the sites that sent traffic with the signups they brought in.
Add the LaunchSuite waitlist to your v0 project
v0 generates a Next.js App Router project and publishes it to Vercel. Create and publish the waitlist in LaunchSuite first, then have v0 add one client component. The guide uses next/script for the script version and an iframe as the fallback.
- 01
Create and publish the waitlist in LaunchSuite
Sign in at launchsuite.co and create a project. Write the headline, the promise and the button text, then publish. Open the Embed tab, copy the slug, and keep it ready for the prompt. The form only appears once the project is published.
- 02
Ask v0 to add the component
In the v0 chat, paste the prompt below with your slug. The prompt asks for one client component in the components folder, and it forbids route handlers and server actions, so the signup doesn't depend on your Vercel environment variables.
Add a waitlist section to the landing page under the hero headline. Create components/launchsuite-waitlist.tsx as a client component ("use client" at the top). It renders <div data-launchsuite-waitlist="your-slug" data-transparent="true" /> and loads https://launchsuite.co/embed.js with next/script, using strategy afterInteractive. Import Script from next/script. Do not add an app/api route, a server action, a database client or any environment variable for this section. Render the component on the landing page only. Leave every other file unchanged. - 03
Check the component v0 writes
The file should start with "use client" and import Script from next/script. Confirm it has no fetch call, no server action and no key. If your landing page is a server component, the client component is the only place the script lives, so the page stays server-rendered.
"use client"; import Script from "next/script"; export function LaunchSuiteWaitlist() { return ( <> <div data-launchsuite-waitlist="your-slug" data-transparent="true" /> <Script src="https://launchsuite.co/embed.js" strategy="afterInteractive" /> </> ); } - 04
Use the iframe if the form doesn't show
If the form stays empty after you move between pages, replace the component body with an iframe. It loads the form from LaunchSuite in its own frame, so next/script has nothing to time. Set the height to fit the form, which is 220 pixels for the default layout.
export function LaunchSuiteWaitlist() { return ( <iframe src="https://launchsuite.co/embed/your-slug" title="Join the waitlist" className="h-[220px] w-full border-0" /> ); } - 05
Publish to production and test the live site
Click Publish in the v0 chat, then Publish to Production. On the live URL, submit a test address, confirm the signup in LaunchSuite's Contacts, and check the confirmation email. Each later change needs another Publish, and the deployment URL stays the same.
On the Free plan the form shows LaunchSuite branding. Removing it is a Pro setting.
If the chat is linked to a GitHub repository, Publish opens or reuses a pull request and merges it, so required checks and reviews still apply.
The embed is served from launchsuite.co, so it doesn't need a key or an environment variable in the Vercel project.
A custom domain for the waitlist is a Pro setting. It uses a CNAME record to cname.vercel-dns.com and is separate from the domain of the Next.js app.
Keep the Next.js project for the product
A v0 project is a Next.js app, and the code you generate for the product should stay focused on the product: the pages, the components and any data the app really uses. A waitlist is a different kind of job. It has to keep collecting emails while the product is rewritten, and it has to survive a deploy that breaks an unrelated route.
Splitting them gives each part one clear owner. v0 and your repository own the app. LaunchSuite owns the landing page, the list and the emails sent before launch. When you rebuild a page in v0 and publish it, the waitlist embed stays the same as long as the slug and the component stay the same.
- Stays in the Next.js project: product pages, app routes, real user data
- Moves to LaunchSuite: the waitlist page, form, confirmation emails, contacts and referral links
- Stays in Vercel: the production deploy and any environment variables the product needs
The client component and next/script
The waitlist needs one client component. It renders the div that LaunchSuite fills with the form and loads the embed script with next/script. The script runs after the page is interactive, and Next.js inserts it once per app, so the component can appear on several pages without loading the script again.
Next.js also loads scripts in the order you place them. With the App Router, a script inside a component runs when that component mounts, so a page you reach by client-side navigation may show an empty box until you reload. Test by moving between pages in the app, not only by loading the landing page directly. If the box stays empty, switch to the iframe version in the guide. It has no script timing to manage.
Keep the component on the landing page only if the signup is the whole point of that page. An embed on every page adds a script the product doesn't need, and the form then competes with the product's own calls to action.
Publishing from v0 and updating later
In a v0 chat, click Publish in the top-right corner and choose Publish to Production. v0 deploys to the Vercel project connected to the chat, and the first publish can create that project. Later changes go out the same way, and the deployment URL stays the same. If the chat is connected to a GitHub repository, Publish opens or reuses a pull request, merges it and starts the production deploy, so required checks still apply.
LaunchSuite stays out of that pipeline. The waitlist embed is a div and a script, so a v0 publish doesn't need to know about it. Changes to the waitlist copy, the form fields or the referral setup happen in the LaunchSuite builder, which publishes them on its own. Keep the slug the same across rebuilds so the embed keeps pointing at the right project.
When the product needs its own list
Once a waitlist signup becomes an account, the Next.js app needs a users table, and that belongs in your product database, not in the landing page. Export the contacts from LaunchSuite as a CSV (Pro) and import the emails into the product when the first accounts go live, so the people who joined early can sign in with the address they gave you.
Keep the two lists apart until then. The waitlist records interest and answers. The account table records people who use the product. Merging them early means your product schema is shaped by a launch page, which is the wrong order.
Example: a v0 landing page for a newsletter tool
Say you generated a newsletter tool in v0 with a Next.js landing page, a dashboard and a Vercel deploy. The dashboard isn't finished, and you want a launch list of writers who will try the tool. You want the list live this week, before the product works end to end.
- 01
Create the waitlist in LaunchSuite
Create a project called newsletter tool and start from the newsletter or creator template closest to your product. Write a headline that says who the tool is for and what they get first, add the button, and publish. Copy the slug from the Embed tab.
- 02
Ask v0 for the component
Paste the prompt from the guide into the v0 chat with the slug. v0 creates a client component and places it under the landing page hero. Check that it didn't add a route handler, a server action or an environment variable.
- 03
Publish to production and check the live URL
Click Publish, then Publish to Production in v0. Open the live URL, submit a test address, and confirm the signup and confirmation email in LaunchSuite's Contacts. If the form is empty, move between two pages in the app and check again, then switch to the iframe if it still doesn't show.
- 04
Ask writers to share their link (Pro)
Turn on referrals on the Pro plan. Each writer gets a link to share with the newsletter groups they already read, and the leaderboard shows who sent the most people. Those are the first writers to invite into the beta.
- 05
Ask one question at signup (Pro)
Add a select custom field: How big is your list today? with ranges. It separates writers with a small audience from those who already send to thousands of readers, which changes who you invite first and what you say in the beta email.
The landing page is live on Vercel, the list is in LaunchSuite with answers and referrers, and the Next.js project still holds only the product. You can start the beta with the writers who signed up and the ones who sent the most referrals, while the dashboard keeps getting built.
Start from a template
The SaaS waitlist template has a clear headline, a short benefit block and a form above the fold, which suits a landing page that sits next to a Next.js product. Replace the copy with your product's promise and the audience it is for, then publish.
Open the template or compare Free and Pro
Free covers one project for good. Pro starts at $4.92 a month, billed yearly.
Questions people ask
Does the waitlist need a Vercel database?
No. The form and the list are hosted by LaunchSuite, so the component only renders a div and a script. A Vercel database belongs to the product, and you can import the waitlist emails into it when the first accounts go live.
Why does the form sometimes stay empty in v0?
The script runs after the page is interactive, and a component reached by client-side navigation can miss that moment. Reload the page to check. If it still stays empty, use the iframe version from the guide, which has no script to manage.
Do I need an API key or environment variable?
No. The embed is loaded from launchsuite.co and the form submits to LaunchSuite, so the Vercel project needs no key for the waitlist. Keep your mail and database keys for the product itself.
Can I use the waitlist on several pages?
Yes, but keep it to the pages where the signup is the main action. Each extra embed adds a script to the page, and a form on every page competes with the product's calls to action.
Is the referral feature available on Free?
No. Referral links, per-contact referral counts and the leaderboard are on the Pro plan. The Free plan includes the page, the contact list, the confirmation email and basic analytics.