Velocity X Components

Cards & Expandables

Contact Person Card

A directory entry — avatar, name, role, a short list of real tel/email/location contact methods, and one primary action. Built for a staff directory or "your account manager" block, not a hover-reveal bio tile.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add contact-person-card

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Contact Person Card →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Contact Person Card
Priya Nair

Priya Nair

Account Manager

Message Priya

Props

NameTypeRequiredDefaultDescription
avatarSrcstringYes
avatarAltstringYesdefaults to name
namestringYes
rolestringYes
methods{ type: 'email'|'phone'|'location'|'link', value: string, href?: string, label?: string }[]No[]
primaryAction{ label: string, href: string }Yes
status'available' | 'away' | 'offline'Yes
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/contact-person-card/ContactPersonCard.jsx

Using the Contact Person Card component

Install it with velocityx add contact-person-card. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Cards & Expandables.