Avatar

v1.3

Avatars are visual representations of users and stores.

A stylized graphic for an avatar component.

Considerations

Human

Avatars help humanize the product experience by connecting users with the product and to each other.

Personalized

Avatars are meant to be personalized and work most efficiently when they are representative of the customer, user, or brand.

Types

Avatars appear across our experience as helpful assets that indicate functional states and user interactions. They become more visually representative as users personalize them. We use 4 core avatar variations.

Types of avatars. Number 1 points to signed-out, number 2 to yellow dynamic, number 3 to image, number 4 to eBay bag avatar.
  1. Signed-out
  2. Default
  3. Image
  4. eBay

Signed-out

The signed-out avatar displays when the user is not signed in. This variation has no personalized attributes since there's no user information to display.

A signed-out avatar used at the top of a mobile layout for My eBay. Text next to the avatar asks the user to sign in.

Default

The default avatar displays if the user hasn’t added a custom image. They’re assigned one of 8 color combinations, based on their user ID. The characters A–Z, <>’*”, 0–9 can be used. The avatar shows the first character of the user ID in uppercase.

A variety of colorful dynamic avatars in yellow, kiwi, and blue displayed in store and live video cards in a mobile layout.

Image

Users can personalize their avatars with a custom image. We use the image avatar for photos, logos, and artwork. Customized avatars make it easier to distinguish and identify users.

A variety of selected image avatars displayed in store and live video cards in a mobile layout.

eBay

We use the eBay avatar to let users know they’re communicating with eBay. This avatar typically appears in messaging and email correspondence.

The colorful eBay bag avatar highlighted next to messages from eBay in a mobile layout.

Properties

Size

Avatars appear across native and web experiences at various sizes. They’re designed at 48px and scaled up or down from there. The 7 avatar sizes are 32, 40, 48, 56, 64, 96, and 128 pixels. The character behaves like a part of an icon, and doesn't scale with font-size settings.

Color

Our default avatar uses a set of 8 color combinations. Learn more about these color combinations in the Color pairing tool.

Behavior

Users can upload and adjust their own avatars, but system-level adjustments are sometimes needed. The two primary system-level adjustments are cropping and scrim application.

Image cropping (square and 4:3)

Square, 4:3, and aspect ratios in between are set to "fill." This ensures images fully occupy the avatar's shape with minimal cropping.

Three image ratios: square, 4:3, and 3:4. Each image fills the circular avatar shape.

Image cropping (below 4:3)

Crops narrower than a 4:3 aspect ratio, such as 16:9 or more extreme formats, are set to “fit.”This prevents logos and other important areas from being cut off.

Two image ratios: 9:16 and  16:9. Each image is set to fit. The images have a chopped look, and a light gray scrim fills the empty space around the images.

Image scrim

The avatar component uses the image component, which automatically applies a subtle scrim over the image. This keeps the avatar's outline visible against light or white backgrounds and when cropping is severe.

An traditional image and a logo image inside of the avatar circle shape. Each have a light gray scrim applied over the images.

Best practices

Sizing

Do use the provided avatar sizes.

A dynamic kiwi-colored avatar with a pink box indicating its size is 48px.

Don’t create arbitrary sizes.

A dynamic kiwi-colored avatar with a pink box indicating the original size is 48px and a blue box indicating it was resized to 38px.

Styling

Do use the 8 color combinations provided for the default avatar.

Eight dynamic avatars in blue, teal, kiwi, avocado, yellow, orange, pink, and lilac.

Don’t create custom color palettes for the default avatar.

Eight dynamic avatars in unapproved color combinations.

Do use a single character within the default avatar.

A dynamic yellow avatar with an uppercase “E”.

Don’t use more than one character within the default avatar.

A dynamic yellow avatar with an uppercase “EA”.

Do use uppercase for the character within the default avatar.

A dynamic pink avatar with an uppercase “E”.

Don’t use lowercase for the character within the default avatar.

A dynamic pink avatar with a lowercase “e”.

Do use a circle shape for avatars.

A dynamic teal avatar in a circle.

Don’t use other shapes for avatars.

Three dynamic teal avatars in square, hexagon, and diamond shapes.

Do use approved characters (A–Z, <>’*”, 0–9) in the default avatar.

A dynamic avocado avatar with the letter “L” inside placed in a store card with 3 images of sneakers.

Don’t use emojis or other unapproved characters in the default avatar.

A dynamic avocado avatar with an emoji inside placed in a store card with 3 images of sneakers.

Do use the signed-out avatar to represent signed-out users.

The signed-out avatar is used next to the words “Sign in”.

Don’t use the signed-out avatar to represent signed-in users.

The signed-out avatar is used next to a user name and member history date.

Image handling

Do follow the image cropping guidance. 16:9 ratio images are set to “fit”.

An avatar with a 16:9 ratio logo inside. The image is set to fit and the full logo is visible.

Don’t set 16:9 ratio images to “fill,” as this will result in poor cropping.

An avatar with a 16:9 logo inside. The image is set to fit and the full logo is visible.

Do use the image scrim over all image-based avatars.

A 9:16 ratio image inside of an avatar with a scrim applied. The outline of the circle can be seen.

Don’t remove the image scrim, as this can lead to a poorly cropped avatar with an unclear outline.

A 9:16 ratio image inside of an avatar without a scrim applied. The outline of the circle can’t be seen.

Specs

From left to right signed-out, dynamic, image, and eBay avatars in a row. 48px is indicated as the size at which each were designed, Title 1 uppercase is the font style, and each avatar is cropped in a circle.