A user image with a text fallback, drawn as a rounded photo tile with a 1px dark edge and a top rim highlight like an iPhone OS contact picture.
Installation
Requires the theme. Register the @skeuomorph namespace and add @skeuomorph/skeuomorph first, as shown in the installation guide. The CLI also pulls it in as a dependency.
Without the namespace, install straight from the URL:
Usage
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"<Avatar>
<AvatarImage src="https://github.com/krzysztoff1.png" alt="@krzysztoff1" />
<AvatarFallback>KD</AvatarFallback>
</Avatar>