Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 559 Bytes

avatar.md

File metadata and controls

19 lines (12 loc) · 559 Bytes

< Back to Components List

Avatar

polaris-avatar implements the Polaris Avatar component. Note that we have added an avatarSourcePath property which specifies the path to where the included Polaris avatar SVG images reside in the host application.

Examples

Basic usage:

{{polaris-avatar name="Jim Smith"}}

Display a customer avatar with a specific image:

{{polaris-avatar customer=true source="/assets/avatars/jim-smith.png"}}