avatar, name and role for a people grid.

Live preview

Amir N.

Backend

GitHub · X

Install

From your site folder, run:

jprot add CardTeam

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

Use it inside a page

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

:::CardTeam avatar="https://picsum.photos/seed/team1/200" name="Amir N." role="Backend" social="GitHub · X"

Props

PropTypeNote
avatarstringphoto URL
namestringmember name
rolestringrole
socialstringsmall footer text

↩ Back to all elements