Others Components

Responsive Avatar Group Component For React

A responsive and developer-friendly avatar group component to display an application’s active users, similar to that of Google Docs. Powered by ui-avatars. How to use it: 1. Install and import the component. # NPM $ npm i react-avatar-group import React from ‘react’; import AvatarGroup from ‘react-avatar-group’; 2. Add an avatar group to the app. function App() { return ( <AvatarGroup avatars={} initialCharacters={1} max={3} size={60} displayAllOnHover shadow={2} /> ) } 3. Available component props. export interface IAvatar { // Hex color for the image background, without the hash (#) backgroundColor?: string; // Hex color