X Enterprises
nuxt-x-cards

Team Card

Team member portrait card with role, bio, and social links.

Team Card

The XCardTeam component renders a team member profile card with a warm-filtered portrait photo, name, role, optional bio, and social icon links. The portrait renders at aspect-square and applies the warm filter preset by default.

Components

<XCardTeam />

<XCardTeam
  name="Dr. Sarah Chen"
  role="Chief Science Officer"
  bio="Former Stanford sleep lab researcher with 15 years studying circadian biology."
  image-url="/images/team/sarah.jpg"
  :socials="[
    { icon: 'i-simple-icons-linkedin', to: 'https://linkedin.com/in/sarahchen', label: 'LinkedIn' },
    { icon: 'i-simple-icons-x',        to: 'https://x.com/sarahchen',          label: 'X' }
  ]"
/>

Props

PropTypeDefaultDescription
namestringrequiredPerson's full name
rolestringrequiredJob title or role
imageUrlstringrequiredPortrait photo URL
biostringShort biography, line-clamped to 2 lines
imageAltstringAlt text for the portrait
socialsArray<{ icon: string; to: string; label?: string }>Social link buttons; icon is a UIcon name, label sets aria-label
filter'cinematic' | 'moody' | 'golden' | 'cool' | 'dramatic' | 'warm' | 'clean' | 'product' | 'none''warm'CSS filter applied to the portrait image.
loading'eager' | 'lazy''lazy'Native <img> loading hint for the portrait.

AI Context

component: XCardTeam
package: "@xenterprises/nuxt-x-cards"
category: ContentCards
use-when: >
  Use XCardTeam on about/team pages for team member profile cards.
notes:
  - Applies filter-x-warm to portrait images automatically
Copyright © 2026