name + email + message form on a surface card.
Say hello
I reply within two days.
Install
From your site folder, run:
jprot add ContactCardThat downloads the self-contained component into theme/components/ContactCard.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: 'ContactCard', title: 'ContactCard' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::ContactCard heading="Say hello" sub="I reply within two days." button="Send message"Props
| Prop | Type | Note |
|---|---|---|
heading | string | card heading |
sub | string | subtitle |
button | string | submit text |
action | string | form action ('' → demo submit) |