the classic surface card: title, description, optional link.
Install
From your site folder, run:
jprot add CardBasicThat downloads the self-contained component into theme/components/CardBasic.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: 'CardBasic', title: 'CardBasic' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::CardBasic title="Research notes" text="Weekly notes on design systems." url="/blog"Props
| Prop | Type | Note |
|---|---|---|
title | string | card title |
text | string | card body |
url | string | whole-card link ('' → none) |