---
'astro': minor
---
Adds experimental support for generating `srcset` attributes and a new `` component.
## `srcset` support
Two new properties have been added to `Image` and `getImage()`: `densities` and `widths`.
These properties can be used to generate a `srcset` attribute, either based on absolute widths in pixels (e.g. [300, 600, 900]) or pixel density descriptors (e.g. `["2x"]` or `[1.5, 2]`).
```astro
---
import { Image } from "astro";
import myImage from "./my-image.jpg";
---
```
```html
```
## Picture component
The experimental `` component can be used to generate a `