Components
Lead
A component for capturing user email addresses and generating leads
A lead generation component that captures user email addresses for newsletters, updates, or marketing campaigns.
Lead component isn't included by default to keep StarterKitPro lean, as many SaaS applications don't require it. However, you can easily add it in under a minute when needed.
Configuration
Let's start Implementation
Lead Actions
Lead Component
Validation Schema
Add Database Schema
Run Commands
Run npm run db:generate
and npm run db:push
to apply the changes to your
database.
Now you can save the leads to database successfully
Usage
Now you can use the component where you want like in Header or CTA