quiet card that lights up an accent bar and arrow on hover.

Live preview

Design systems

Tokens, components, and the discipline between them.

Install

From your site folder, run:

jprot add CardHover

That 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

PropTypeNote
titlestringcard title
textstringcard body
urlstringlink target

↩ Back to all elements