Skip to content

Avatar

User avatar. Supports image, icon, or text.

Basic Usage

loading

Size & Shape

loading

API

PropDescriptionType
srcImage URLstring
iconIcon (emoji or class name)string
sizeSizeComponentSize | number
shapeShape'circle' | 'square'
altImage altstring

Slots: default (text or custom content).

MIT License