Avatar
Group Mosaic
A group chat avatar: up to four faces tiled inside one circle, with the tiling changing to match their number.
What you can change
- the names array and the label
- the circle size through size — sm, md or lg
- the colour of the gap between tiles
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/avatar-023?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, its own palette in the local --vibeui-avatar-023-* variables. Server-side: there are no hooks. The mosaic is a 2×2 grid inside a round wrapper with overflow: hidden; the layout is switched by the data-count attribute, because with three faces the square leaves an empty cell — the first face then takes a whole column. The gap between the cells is drawn in the card colour rather than with a border, so as not to eat usable area. The fifth participant and beyond fold into a counter, and the full list of names is moved into the text alongside: the cells are unreadable. The theme comes from the surrounding color-scheme through light-dark(): the dark branch is not an inversion of the light one — the circle fill, the rings and the statuses each have their own pair of lightnesses.
Tags
- avatar
- group
- chat
- mosaic
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…