Avatar
Neumorphic avatar on the Radix primitive. A subtly raised circular rim at tight shadow scale; the fallback is a pressed circle with muted initials.
CNNE
CNNEUI
+3
Installation
bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-avatar.jsonUsage
import {
Avatar,
AvatarBadge,
AvatarFallback,
AvatarGroup,
AvatarGroupCount,
AvatarImage,
} from "@/components/ui/neu/avatar"<Avatar>
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>Badge
AvatarBadge pins a status dot to the bottom corner. It hides its icon at size="sm".
<Avatar>
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
<AvatarBadge />
</Avatar>Group
AvatarGroup overlaps its avatars; AvatarGroupCount closes the row with the overflow.
<AvatarGroup>
<Avatar>
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar>
<AvatarFallback>LR</AvatarFallback>
</Avatar>
<AvatarGroupCount>+3</AvatarGroupCount>
</AvatarGroup>