ComponentsButton Lead

Collect emails and automatically save them in the database. Perfect for a waitlist (if your product isn't ready yet) or a lead generation popup.

It call the /api/lead/route.js API route to store the lead in the database.

A database is required.

A Button Lead component for ShipFast boilerplate

page.js

1import ButtonLead from "@/components/ButtonLead";

Updated on: Friday, September 15, 2023

Looking for UI-only components like buttons, inputs, etc? It's all available with daisyUI. See this guide for more info.