Skip to content
avatar
AutoXXS (320px)XS (375px)SM (640px)MD (768px)LG (1024px)XL (1280px)XXL (1536px)
SketchMaterialiOSTamagui
DataInjectionKeyPatternsServiceTransactionProcessResearchProductQualityPerformanceSpecDomainFunctionTechnologyArchitectureConfigMiddlewareDataDatabaseDrizzleMigrationModelop-sqliteSchemaSQLState ManagementDraftKeystoneMergePatchPatchesPersistenceReactiveRedoStoreUndoTestingDeviceFactoryIsolationTypeScriptZodTopicsCommunicationBidsNVCDesignDesign ImplicationsEducationPedagogyFoundationsPsychologyAttachmentFloodingRelatingAuthentic RelatingUIEditorReact Native

avatar

Fragment reference avatar
tags
ui

Avatars represent a person or object.

Usage

avatar(label="User")

Content

Avatars support images, initials, or icons.

avatar(image="/images/user.jpg" label="User Photo")
avatar(initials="JD" label="John Doe")
avatar(label="Empty")
icon(slot="icon" name="person")

Attributes

NameTypeDefaultDescription
imagestring-Image source URL.
initialsstring-Fallback initials.
labelstring-Accessible description.
shapecircle | square | roundedcircleAvatar shape.
loadingeager | lazyeagerImage loading strategy.