a fake terminal card beside the headline, great for dev tools.

Live preview

Ship big, think small

A no-build toolkit for portfolios and docs.

Install

From your site folder, run:

jprot add TerminalHero

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

Use it inside a page

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

:::TerminalHero title="Ship big, think small" subtitle="A no-build toolkit for portfolios and docs." command="npx jprot init --portfolio"

Props

PropTypeNote
titlestringheadline
subtitlestringsupporting line
commandstringthe fake shell command to show

↩ Back to all elements