GitHub

Avatar

An image element with a fallback for representing the user.

EK

Installation

npx solidui-cli@latest add avatar

Usage

import { Avatar, AvatarFallback, AvatarImage } from "~/components/ui/avatar"
<Avatar>
  <AvatarImage src="https://github.com/stefan-karger.png" />
  <AvatarFallback>EK</AvatarFallback>
</Avatar>