Avatar Group
Displays a group of avatars along with rating stars and the number of ratings.
35+ developers liked this
Usage
import { AvatarGroup } from "@/app/_components/ui/avatars-group";
<AvatarGroup count={100} rating={5} imageUrls={[Avatar1.src, Avatar2.src, Avatar3.src, Avatar4.src]}/>
Props
Name | Type | Default | Description |
---|---|---|---|
count | number | 10 | The number of ratings to display. |
rating | number | 5 | The average rating. |
imageUrls | string[] | [] | The URLs of the images to display. |