Files
ionic-framework/core/src/components/avatar
Cam Wiegert 018fb9876f test(all): use test() instead of it() where appropriate (#16129)
This replaces uses of Jest's it() function in end-to-end tests with the alias test() where it makes sense semantically.
2018-10-29 12:40:06 -05:00
..
2018-05-30 12:41:30 -04:00

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.

CSS Custom Properties

Name Description
--border-radius Border radius of the avatar and inner image

Built with StencilJS