Glowup
DATA DISPLAY · 45 / 89
Avatar
Avatar — a Material You data display component for React Native and web.
󱀫
packages/ui/src/components/Avatar.tsx
Live demo
Properties
5 controls
Name
Size
Status
None
󰍝
Fallback icon
Variant
Circular
󰍝
Usage
Avatar.tsx
<Avatar />
Variants
The states and shapes this component is meant to be used in.
Sizes
Variants
circular
rounded
square
Statuses
online
busy
󰅐
away
offline
Fallbacks
initials
default icon
icon
custom colors
Team roster
Ada Lovelace
Engineering lead
Grace Hopper
Platform architect
Katherine Johnson
Data science
API reference
Generated from the library's TypeScript, so it cannot drift from the implementation.
Props
9 on AvatarProps
Filter props
󰍉
backgroundColor
string
icon
MaterialCommunityIconsGlyphs
default: "account"
name
string
onPress
() => void
size
number
default: 40
source
ImageSourcePropType
status
"online" | "offline" | "busy" | "away" | null
textColor
string
variant
"circular" | "rounded" | "square"
default: "circular"
Shape: full circle, rounded corners, or square.