Skip to content

JPROT Catalog
Home All elements Install
JPROT CatalogHomeAll elementsInstall

On this page

InstallUse it as a homepage sectionUse it inside a pageProps
JPROT CatalogHomeAll elementsInstall

On this page

InstallUse it as a homepage sectionUse it inside a pageProps

EmailCapture

header-like hero-lite: headline with an input underneath.

Live preview

Get the book

Chapter 1, free.

Install

From your site folder, run:

jprot add EmailCapture

That downloads the self-contained component into theme/components/EmailCapture.js, where it is picked up automatically — the same way as any built-in component. To remove it later, just delete that file.

Use it as a homepage section

Add an entry to the sections: list in jprot.config.js:

sections: [
  { component: 'EmailCapture', title: 'EmailCapture' },
]

Use it inside a page

On its own line in any Markdown file, passing the props:

:::EmailCapture title="Get the book" text="Chapter 1, free." placeholder="your email" button="Send it"

Props

PropTypeNote
titlestringheadline
textstringsubline
placeholderstringinput hint
buttonstringsubmit text

↩ Back to all elements

© 2026 JPROT Catalog