Augeo AI Docs
Augeo Design SystemComponents

ProductCardImage

The square image area of a product or offer card, which falls back from the photo to the logo on its brand colour, then to a category icon.

Lifecycle: prototype

Lifecycle: prototype. See the Changelog for version history.

ProductCardImage

ProductCardImage fills the box its parent sizes with the best image the data supplies. A photo smaller than 200 × 200 px, or one that fails, gives way to the logo on a white disc over the logo's dominant colour. Without a logo, the category icon the host passes shows. The design system maps no category to an icon. The colour comes from the logo pixels, so a cross-origin logo needs CORS headers or a colorSampleUrl that proxies it, for example marketplaceImageProxy. Without either, the tile keeps the neutral surface.

Storybook

Loading

Props

Prop

Type

Also takes the attributes of the element it renders.

Tokens

Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.

  • --augds-background-white-fixed
  • --augds-border-subtle
  • --augds-color-alpha-black-4
  • --augds-foreground-tertiary
  • --augds-radius-primitive-12
  • --augds-radius-primitive-8
  • --augds-shadow-1
  • --augds-surface-sunken

Source

  • src/components/ui/product-card-image/product-card-image.tsx