React

Avatar

사용자의 프로필 이미지를 표시하는 컴포넌트입니다.

Installation

npx @seed-design/cli@latest add ui:avatar

Props

Avatar

Prop

Type

src?string | undefined
alt?string | undefined
fallback?React.ReactNode
onLoadingStatusChange?((status: ImageLoadingStatus) => void) | undefined

AvatarBadge

Prop

Type

AvatarStack

Prop

Type

Examples

Size

Badge & Badge Mask

Stack

Fallback Image

fallback prop으로 이미지가 로드되지 않았을 때 보여질 요소를 지정할 수 있습니다. 주로 IdentityPlaceholder를 사용합니다.

Last updated on

On this page