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 inserts email intowaitlist table.
A database is required.
1 import ButtonLead from "@/components/button-lead";
Setup
1. Go to Supabase Database and create a new table named waitlist.
2. Create columns: id: uuid, created_at: timestamp and email: varchar.
That's it. Now you can collect user emails.
Tips
  • Try to cover an potential objections your visitors might have. For instance, if you're selling a course, you might want to add a question about the refund policy.
Updated on: Tuesday, June 21, 2024
Looking for UI-only components like buttons, inputs, etc? It's all available with daisyUI. See this guide for more info.