Content

Avatar

User avatar. Wraps the Polaris <s-avatar> web component.

Usage

<template>
  <ShAvatar initials="JD" size="base" />
  <ShAvatar src="https://example.com/avatar.jpg" alt="John Doe" size="large" />
</template>

Props

PropTypeDefaultDescription
initialsstringInitials text
srcstringImage source URL
altstringAlt text
size'small' | 'small-200' | 'base' | 'large' | 'large-200'Avatar size

Slots

SlotDescription
defaultAdditional content

Polaris Element

Renders as <s-avatar>. See Polaris Avatar docs.

© 2026 KiriminAja. Polaris and Shopify are trademarks of Shopify Inc.

KiriminAja not affiliated with Shopify.