Avatar Stack
Beautifully designed Avatar components with Tailwind CSS and Framer Motion. Copy, paste, and customize to enhance your web projects effortlessly.
Avatars
Stack
+1.4k
Installation
Run the following command:
npx gopx-webui add avatar-stack
Props
Prop | Type | Description |
---|---|---|
avatars | Avatar[] | An array of avatar objects, each containing src (string) and alt (string) properties. |
maxDisplay | number (optional) | The maximum number of avatars to display. Defaults to 5 . |
size | number (optional) | The size of the avatars in a specified unit (e.g., pixels). Defaults to 10 . |
borderColor | string (optional) | The color of the avatar border. Defaults to "white" . |
darkBorderColor | string (optional) | The border color for dark mode. Defaults to "gray-800" . |