slim email capture row, fits inside a footer or under text.

Live preview

Monthly digest

Install

From your site folder, run:

jprot add NewsletterStrip

That downloads the self-contained component into theme/components/NewsletterStrip.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: 'NewsletterStrip', title: 'NewsletterStrip' },
]

Use it inside a page

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

:::NewsletterStrip label="Monthly digest" placeholder="you@example.com" button="Join"

Props

PropTypeNote
labelstringheading text
placeholderstringinput hint
buttonstringsubmit text
actionstringform action URL ('' → mailto-free demo)

↩ Back to all elements