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

CtaBanner

headline + button on a soft accent panel.

Live preview

Ready when you are

Start from an empty folder — literally.

Get started

Install

From your site folder, run:

jprot add CtaBanner

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

Use it inside a page

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

:::CtaBanner title="Ready when you are" text="Start from an empty folder — literally." label="Get started" url="/docs"

Props

PropTypeNote
titlestringheadline
textstringpitch
labelstringbutton text
urlstringbutton target

↩ Back to all elements

© 2026 JPROT Catalog