Earthling UI

  1. Components
  2. avatar

Avatar

Prop
Default Value
Value
The size of the avatar
size
md

Anatomy

<Avatar> <AvatarImage /> <AvatarFallback /> </Avatar>

Installation

1
Ensure Earthling UI is installed
bun add earthling-ui
2
Import the component from earthling-ui
import { Avatar, AvatarImage, AvatarFallback } from "earthling-ui/avatar"
The component is ready to use