Animated React card components

Team member card

A team member card with pixels burning up the photo like fire. Hover and they die down while the details slide out with animated social links.

Cards, hover and press, Motion

Install

npm i clsx motion tailwind-merge && curl -o components/team-member-card.tsx https://motion-brew.com/r/team-member-card.tsx

One self contained file for React and Tailwind CSS: team-member-card.tsx. Or ask your AI agent to add it through the MCP server.

Usage

import { TeamMemberCard } from "@/components/team-member-card";

export default function Team() {
  return (
    <TeamMemberCard
      name="Maya Lindqvist"
      role="Head of Design"
      photo="/team/maya.jpg"
      location="Stockholm"
      timeZone="Europe/Stockholm"
      socials={[
        { kind: "linkedin", href: "https://linkedin.com/in/maya" },
        { kind: "email", href: "mailto:maya@example.com" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
namestring"Maya Lindqvist"Name
rolestring"Head of Design"Title
photostringa portraitPhoto URL
locationstring"Stockholm"City shown with the local time
timeZonestring"Europe/Stockholm"IANA time zone for the live local time
biostringa short lineOne or two lines about them
socials{ kind; href; label? }[]X, LinkedIn, GitHub, Dribbble, emailLinks; kind is x, linkedin, github, dribbble or email
pixelsbooleantruePixels burning up the photo, dying down on hover
pixelColorstring"#ffffff"Colour of the pixels
pixelSizenumber6Pixel grid cell in px
pixelShape"square" \"circle" \"diamond""square"Pixel shape
pixelSpeednumber1Drift and shimmer speed
pixelAreanumber1How high the flames reach
pixelDensitynumber0.85How heavy the flames are
pixelOpacitynumber1Overall strength of the pixels
pixelHovernumber0.6How much of the field stays while hovered
defaultConnectedbooleanfalseStart as connected
onConnect(connected) => voidCalled when Connect is toggled
classNamestringPlacement

More cards

  • Roadmap card: A product roadmap that plays like stories: the bar fills, the number rolls, the text blurs across and the milestones check in.
  • Contour feature card: A browser window in front of a live topographic map.
  • Live gradient card: A metric on a drifting mesh gradient, with a dot matrix number that morphs dot by dot.
  • Integration hub: App tiles wired into one hub, with packets of dots flowing in along every wire.

All animated react card components