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

NewsletterBox

standalone subscribe card with a pitch and success hint.

Live preview

The Sunday Roundup

One email, five links worth your time.

✓ You're in.

No spam. Unsubscribe anytime.

Install

From your site folder, run:

jprot add NewsletterBox

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

Use it inside a page

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

:::NewsletterBox title="The Sunday Roundup" text="One email, five links worth your time." placeholder="Email address" button="Subscribe" note="No spam. Unsubscribe anytime."

Props

PropTypeNote
titlestringheading
textstringpitch
placeholderstringinput hint
buttonstringsubmit text
notestringfine print

↩ Back to all elements

© 2026 JPROT Catalog