An image element with a fallback for representing the user.
npx shadcn@latest add avatar
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
<Avatar> <AvatarImage src="https://github.com/shadcn.png" /> <AvatarFallback>CN</AvatarFallback> </Avatar>
本页大纲