Skip to main contenteBay Playbook
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles

Foundations

  • Overview
    • Our logo
    • Using our logo
    • Using our tagline
    • Showcase
    • Our colors
    • Using color
    • Using color in product
    • Using color in marketing
    • Using color in illustration
    • Best practices
    • Showcase
    • Our typeface
    • Using type
    • Using type in digital
    • Using type in print
    • Best practices
    • Showcase
    • Our photos
    • Visual tone
    • Image types
    • Showcase
    • Our icons
    • Using icons
    • Confirmation indicators
    • Icon library
    • Best practices
    • Showcase
    • Our illustrations
    • Visual tone
    • Using illustration
    • Sizing and placement
    • Best practices
    • Showcase
    • Our motion
      • Using motion in product
      • Volume of motion
      • Product transitions
      • Expressive animation
      • Using motion in marketing
      • Layout in motion
      • Typography in motion
      • Depth in motion
    • Overview
    • Include plugin
      • Overview
      • Responsive layout
      • Image ratio
      • Uniform
      • Masonry
      • Mosaic
      • Overview
      • Stacks
    • Interaction levels
    • Interaction states
    • Using object styles in product
    • Using object styles in marketing

Sizing and placement

Illustration sizing and placement always depends on where it's being used.

An illustration of an open ebay box with a vinyl record and it’s cover laying open around it. Dotted lines around all edges of the illustration show where it sits within the purple background.
Sizing and placement

On this page

  • Sizing, cropping, safe zones
  • Placement
  • Modes
  • Resources
PreviousUsing illustrationNextBest practices
Things.People.Love.
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles
  • About eBay Design
  • Careers
  • Press
  • Privacy policy
© 2026 eBay. All rights reserved.

eBay Evo, the eBay trademark, and the eBay logo are the intellectual property of eBay Inc.

    Sizing, cropping, safe zones

    Placement

    Modes

    How illustrations are treated in dark mode depends on what color background they have. Illustrations with white backgrounds use semantic color tokens and their backgrounds invert automatically in dark mode. Illustrations with any other color background use core colors and do not change in dark mode.

    Illustrations with white backgrounds

    Illustrations with white backgrounds (Variant A) use the background.primary color token and invert in dark mode. Some illustrations on white also have dark mode variants that swap automatically to ensure contrast is maintained against the darker backgrounds. Any page or container shape that contains an illustration with a white background should use the same background.primary color token so there is a seamless transition between the illustration and it’s background at any screen size.

    Illustrations with colored backgrounds

    Illustrations with light gray and colored backgrounds (Variants B-H) use core colors for their backgrounds and do not change in dark mode. Any container shape that holds an illustration with these background colors should utilize the same core color so when the screen resizes, the margins around the illustration have a seamless transition.

    Resources

    Minimum size

    Minimum size for any illustration is inside an 80px by 80px container with a minimum of 12px padding on all sides. This ensures there's enough space around the illustration—it shouldn't feel cramped.

    Photo tips are shown on eBay mobile and desktop. On mobile, a bottom half sheet contains three square illustrations in list format to the left of its descriptive text. The first illustration is a beige laptop against a neutral grey background, the second illustration is a beige watch on a purple display pillow inside of a black display box against a neutral grey background, and the third illustration is a purple gaming console against a neutral grey background. On desktop, the same illustrations in the same format are featured in a modal.

    In education cards

    Illustrations in education cards should be centered horizontally within the safe zone. There should be a minimum of 24px padding from the top and bottom on large screens and 32px from the top and 24px from the bottom on small screens. They should always use a gray background, never color.

    A mobile and desktop view of the eBay application and site, showcasing an eBay Motors education card.
The illustration features a white car with the front hood propped open. There is a eBay-branded cardboard box, with two tires stacked to the left of the box. A pink box and red lines surround the illustration showcasing minimum space between the illustration and edge of card.

    In modals

    Illustrations in expressive modals should be centered within the image zone with a minimum of 16px padding in any direction. If you must crop an illustration from the bottom, make sure it still meets the minimum padding on all other sides. Illustrations should always use the gray or colorful background already included in the illustration. For more information on modal behavior and specs, visit the Dialog page.

    A mobile and desktop view of a Running shoes search result. On mobile, a bottom half sheet is shown with a Save your sizes selector. The top of the bottom half sheet shows a blue and white sneaker illustrated on a neutral grey background. A pink box and red lines surround the space around the illustration showcasing how much space is allowed around the artwork. 
On desktop, a modal is shown with the same illustration and details.

    In null states

    Illustrations in null states should be max 168px by 168px on small screens and 200px by 200px on large screens. Padding between the image and typography should be 32px.

    An empty state for the messages section is shown on mobile and desktop. The illustration featured is a beige and green mailbox with a beige and green bird sitting inside the mailbox. The empty state sits on a white background with text in black that reads “No messages (yet)” below the illustration. A pink box and red lines surround the space around the illustration showcasing how much space is allowed around the artwork.
    An error state in light mode showing a person upside down wearing a blue sweater in an illustrated style. The person is emerging from a hole, and looking out into the distance.

    Light mode

    An error state in dark mode showing a person upside down wearing a blue sweater in an illustrated style. The person is emerging from a hole, and looking out into the distance.

    Dark mode

    A full sheet on the eBay mobile app in light mode with the top half showcasing an illustration of the earth against a lime background. A black location icon sits on the globe with a eBay shipping cardboard box rotating around the globe. The box is followed by a black dotted line to signify the movement of the box. The bottom half contains text in black and a CTA in blue against a white background.

    Light mode

    A full sheet on the eBay mobile app in dark mode with the top half showcasing an illustration of the earth against a lime background. A black location icon sits on the globe with a eBay shipping cardboard box rotating around the globe. The box is followed by a black dotted line to signify the movement of the box. The bottom half contains text in white and a CTA in blue against a black background.

    Dark mode