You can edit 8 Components for free. Get premium for unlimited access.
An image element with a fallback for representing the user.
The AvatarGroup component is used to display profile pictures of groups or to clarify who belongs to a group.
This component inherits props from the Avatar Group.
-
You can edit the items with the iconContent, initialsContent or imageContent parameter.
You can edit the size with the AvatarGroupSize.xs or AvatarGroupSize.lg parameter.
Preview
Code
DLAvatarGroup(
groupSize: DLAvatarGroupSize.lg,
items: [
DLAvatarItem.icon(),
DLAvatarItem.icon(),
],
),
DLAvatarGroup(
groupSize: DLAvatarGroupSize.lg,
items: [
DLAvatarItem.initials('NB'),
DLAvatarItem.initials('NB'),
],
),
DLAvatarGroup(
groupSize: DLAvatarGroupSize.lg,
items: [
DLAvatarItem.image(
img1,
),
DLAvatarItem.image(
img2,
),
],
),
DLAvatarGroup(
groupSize: DLAvatarGroupSize.lg,
items: [
DLAvatarItem.image(
img1,
),
DLAvatarItem.initials('2'),
],
),Add this code example to your project to see how the component works.
DLAvatarGroup(
groupSize: DLAvatarGroupSize.lg,
items: [
DLAvatarItem.icon(),
DLAvatarItem.icon(),
],
)Size
Preview
Code
DLAvatarGroup(
groupSize: DLAvatarGroupSize.lg,
items: [
DLAvatarItem.icon(),
DLAvatarItem.icon(),
],
),
DLAvatarGroup(
groupSize: DLAvatarGroupSize.xs,
items: [
DLAvatarItem.icon(),
DLAvatarItem.icon(),
],
),You have questions or need help?
You want to try?
Save time and money?