ion-avatar
Avatars are circular components that usually wrap an image or icon. They can be used to represent a person or an object.
Avatars can be used by themselves or inside of any element. If placed inside of an ion-chip
or ion-item
, the avatar will resize to fit the parent component. To position an avatar on the left or right side of an item, set the slot to start
or end
, respectively.
Basic Usageâ
Chip Avatarâ
Item Avatarâ
Themingâ
CSS Custom Propertiesâ
Propertiesâ
No properties available for this component.
Eventsâ
No events available for this component.
Methodsâ
No public methods available for this component.
CSS Shadow Partsâ
No CSS shadow parts available for this component.
CSS Custom Propertiesâ
Name | Description |
---|---|
--border-radius | Border radius of the avatar and inner image |
Slotsâ
No slots available for this component.