---
title: Image
slug: wip/image
createdAt: 2023-07-20T14:41:14.934Z
---

# Image

:::hint{type="info"}
A component to preload and display image assets.

🎨 Figma: Images are available as a Component that can be accessed in the Assets Panel.

💻 Code: Images are available as a Web Component.
:::

The Image component is more than just simply displaying an image asset. It takes care of lazy-loading the provided image asset, enhances the user experience while loading by displaying a preview, and smoothly transitions to the high-resolution image once done.

:::Iframe{iframeHeight="0" code="<iframe&#xA;  allow=&#x22;clipboard-write *&#x22;&#xA;  height=&#x22;100px&#x22;&#xA;  loading=&#x22;eager&#x22;&#xA;  src=&#x22;https://cosmos-storybook.rbds-production.redbullaws.com/storybook/iframe.html?id=media-image--docs&viewMode=docs&blocks=story,table&filter=props,events,methods,slots&#x22;&#xA;  title=&#x22;Embedded storybook from cosmos-storybook.herokuapp.com&#x22;&#xA;></iframe>"}

:::

