Lead Capture Card
lead_capture_card renders a bordered form section for newsletters, waitlists, demo requests, and lightweight lead capture.
When to Use
Use it when the desired conversion is an email or contact submission. If form_action is omitted, the shortcode uses a local Alpine confirmation instead of submitting to a backend.
Usage
{{ lead_capture_card(
title="Join the waitlist",
description="Get notified when the next release ships.",
button_text="Join"
) }}Live Example
Stay updated
Join the waitlist
Get notified when the next release ships.
Parameters
| Parameter | Description |
|---|---|
container | Inner content width for the lead capture section. |
eyebrow | Small uppercase label above the heading. |
title | Form section heading. |
description | Supporting copy beside the form. |
form_action | Optional form action URL. If omitted, Alpine shows a local success state. |
method | Form method. Defaults to post. |
show_name | Set to true to show a name field. |
name_label | Label for the optional name field. |
name_placeholder | Placeholder for the optional name field. |
email_label | Label for the email field. |
email_placeholder | Placeholder for the email field. |
button_text | Submit button label. |
button_color | Submit button color token. |
note | Small note below the form. |
success_message | Message shown after local submission when no form_action is set. |
bg | Full-width section background token. |
class | Additional CSS classes on the outer section. |