Examples
Default
All Sizes
Framework Agnostic
All Decorations
Props
Avatar
Displays a user avatar with optional online indicator, platinum border, and NSFW blur. Passsrc and fallback for the simple API, or compose your own layout with AvatarRoot, AvatarImage, and AvatarFallback as children.
string
default:"Avatar"
Alt text for the avatar image.
boolean
ReactNode
Fallback content rendered when the image has not loaded (e.g. initials or an icon).
boolean
default:"false"
Whether to apply the NSFW blur filter over the image.
boolean
default:"false"
Whether to show the online-status indicator dot.
boolean
default:"false"
Whether to show the platinum gradient border ring.
16 | 24 | 32 | 40 | 48 | 64 | 88 | 148
default:"40"
Pixel size of the avatar.
string
URL of the avatar image.
AvatarFallback
boolean
AvatarImage
boolean
AvatarRoot
boolean
boolean
default:"false"
Whether to apply the NSFW blur filter over the image.
boolean
default:"false"
Whether to show the online-status indicator dot.
boolean
default:"false"
Whether to show the platinum gradient border ring.
16 | 24 | 32 | 40 | 48 | 64 | 88 | 148
default:"40"
Pixel size of the avatar.
Exported types
Also exported from@fanvue/ui: AvatarFallbackProps, AvatarImageProps, AvatarProps, AvatarRootProps, AvatarSize.
Setup: Installation · Theming