quiet card that lights up an accent bar and arrow on hover.
Design systems
Tokens, components, and the discipline between them.
Install
From your site folder, run:
jprot add CardHoverThat downloads the self-contained component into theme/components/CardHover.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: 'CardHover', title: 'CardHover' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::CardHover title="Design systems" text="Tokens, components, and the discipline between them." url="/work/design-systems"Props
| Prop | Type | Note |
|---|---|---|
title | string | card title |
text | string | card body |
url | string | link target |