Avatar
A component that displays a user's profile image.
Anatomy
Avatar consists of an Image Area displaying the image and a Border, and can display a Badge as needed.
Properties
Size
Avatar is provided in sizes from a minimum of 20 up to 108. When using other sizes, be careful to keep the border thickness consistent.
Fallback Image
When the image content cannot be displayed, Identity Placeholder is used as the fallback image.
Badge
A Badge can be shown at the bottom right. Depending on shape, the Badge is provided in three types: Circle, Shield, and Flower.
Avatar Stack
When displaying multiple Avatars, the Avatar Stack component can be used. When you need to adjust the count, hide from the front before use.
Guidelines
Choosing a Size
Avatar is provided in sizes from a minimum of 20 up to 108. The size can be used as appropriate for the situation, and recommended sizes for each situation can be found in Specification.
Displaying a Badge
Avatar's Badge is implemented as a masking shape. This naturally expresses the spacing between the badge and the Avatar not only on a flat default-layer background, but also in situations where the Avatar is displayed over image or video content.
The masked badge shapes are Circle, Shield, and Flower. Each can have the same shaped icon placed as a badge, and for Circle, a Custom Slot can be used to create whatever asset is desired at the point of use.
Using a Custom Slot for the Badge
For the Circle type badge, a Custom Slot can be used to add the desired element without detaching the component.
Refer to the guide for how to use the Slot.
Specification
Avatar
base
size=20
- 대표 사용처: 댓글을 남긴 사용자
size=24
- 대표 사용처: 답글 프로필
size=36
- 대표 사용처: 댓글 프로필
size=42
- 대표 사용처: 게시글 상세 내 프로필
size=48
- 대표 사용처: 작은 리스트
size=56
- 대표 사용처: 큰 리스트
size=64
- 대표 사용처: 프로필 상세, 캐러셀
size=80
size=96
size=108
- 대표 사용처: 프로필 수정