Basics
Avatar
Initials in a rounded square, replaced by the photo once it loads. Also a stacked group.
src/components/ui/avatar.tsxBehavior from @ui-sdk/react/avatar
Sizes and group
Nadia PutriRaka PratamaIntan Maharani
- Dimas Ardiansyah
- Bima Santoso
- Sekar Ayu
- Yoga Saputra
- +2
Import
tsx
import { Avatar, AvatarGroup } from "@/components/ui/avatar";Guidelines
- Set
decorativewhen the person's name is already written next to the avatar. - A group shows at most
maxavatars; the rest become a +N count.