ESC
NextStarterAI logo
Menu
On this page

Components > Button Lead

page.tsx
1import { ButtonLead } from "@/components/landing-components";

A component used to collect the emails from the landing page. It saves the emails in the database. You'd use this if your product isn't ready yet or you want to collect leads. For instance: A popup to send a freebie, joining a waitlist, etc.


Pika Button Lead

Database connection

It calls the /api/lead/route.ts route by default and store a Lead document in the database.