datui
Color scheme

Data display

GridAvatar

Round avatar built from up to four images, for group chats.

import { GridAvatar } from "datui";

Examples

Layouts

Accessibility

  • The root is role="img" labelled by alt; individual tiles are aria-hidden.
  • More than four images are ignored (with a console warning).

API

GridAvatar

Round avatar made of up to four images, for group chats and teams. Accepts `GridAvatar.Badge`.

PropTypeDefaultDescription
alt (required)string—Accessible name for the whole group, e.g. the chat title.
src (required)string[]—1–4 image URLs; extras are ignored.
classNamestring—
noBorderboolean—
sizenumber48Diameter in px.