Docs
Expandable Profile Card

Expand Card


The Expand Card component is an interactive card designed to showcase profiles with expandable sections for additional information. This card is ideal for displaying user profiles, client information, or team members, allowing you to toggle between a compact and expanded view.

Chaitanya

Chaitanya

Intern at Misty Interactive Solutions

🔥Hot Client

Additional Information:

This section contains additional information about the client, their projects, and any other relevant details.

Installation


npx empire@latest add expand-card

Props


Prop nameTypeDescription
namestringName of the person or client.
titlestringTitle or position of the person.
companystringThe company or organization of the person.
imageUrlstringURL of the profile image.
ratingnumberRating out of 5 for the person (displays as dots).
socialsArray<{ name: string; href: string }>Array of social media profiles or contact methods (name and URL).
additional_informationstringAdditional information to display in the expanded section.
redirectLinkstringA URL to redirect when interacting with the card (if applicable).