Utilities
ImageProps

ImageProps

ImageProps is the full CMS image object used by most visual banners.

Placeholder image

Props

id
string
required

Image entity id in the CMS.

name
string
required

Internal CMS name.

imageRights
string | null

Copyright / attribution text.

filerequired

Primary file for this image.

mobileFile

Optional replacement file for small screens (paired with breakpoint).

alt
string
required

Alternative text used for accessibility.

breakpoint
'mobile' | 'tablet' | null

Breakpoint that indicates when mobileFile should be used.

cars
CarConsumptionData[]

Optional list of car consumption entries associated with the image.

Notes

  • Use mobileFile only when breakpoint is set.
  • Always render alt (empty string is valid if the image is purely decorative).