full-width accent banner asking for subscribers.

Live preview

Never miss a release

Changelogs, straight to your inbox.

2k readers

Install

From your site folder, run:

jprot add SubscribeBanner

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

Use it inside a page

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

:::SubscribeBanner title="Never miss a release" text="Changelogs, straight to your inbox." button="Subscribe" note="2k readers"

Props

PropTypeNote
titlestringheadline
textstringpitch
buttonstringsubmit text
notestringsmall footer (e.g. reader count)

↩ Back to all elements