Particle Card

An interactive card with particle explosion effect on hover, perfect for team member profiles.

Sam Jenkins

Product Designer

Passionate about creating intuitive and beautiful user experiences. I specialize in UI/UX design and frontend development with a focus on accessibility. I am a frontend developer with a passion for creating engaging and interactive user interfaces.

UI/UXReactMotionFigma
Sam Jenkins

Sam Jenkins

Product Designer

Installation

pnpm dlx rareui add particle-card

Usage

1

Import the component

import ParticleCard from '@/components/rareui/ParticleCard';
2

Use in your application

export default function App() { return ( <ParticleCard /> ); }

Examples

1

With Custom Content

<ParticleCard name="Jane Doe" role="Senior Developer" bio="Full-stack engineer with 8+ years building scalable applications." img="https://images.unsplash.com/photo-1494790108377-be9c29b29330" tags={['React', 'Node.js', 'TypeScript']} />
2

Adjusting Particle Density

<ParticleCard cols={30} // More columns = smaller particles rows={36} // More rows = denser effect />
3

Team Grid

const teamMembers = [ { name: 'Alice Chen', role: 'CEO', tags: ['Leadership', 'Strategy'] }, { name: 'Bob Smith', role: 'CTO', tags: ['Engineering', 'Architecture'] }, { name: 'Carol Wang', role: 'Designer', tags: ['UI/UX', 'Branding'] }, ]; export default function Team() { return ( <div className="grid grid-cols-1 md:grid-cols-3 gap-8"> {teamMembers.map((member) => ( <ParticleCard key={member.name} {...member} /> ))} </div> ); }

Features

Image breaks into animated particles on hover.

Props

PropTypeDefaultDescription
namestring"Sam Jenkins"Name displayed on the card front
rolestring"Product Designer"Role or title displayed
biostring"Default bio..."Biography shown on card back
imgstringUnsplash URLBackground image URL
tagsstring[]['UI/UX', ...]Array of skill/tag labels
colsnumber20Particle grid columns (affects particle size)
rowsnumber24Particle grid rows (affects particle density)