---
'astro': minor
---
Add support for generating multiple widths when using the Image component and a Picture component for supporting multiple formats.
## `srcset` support
The current usage is as follow:
```astro
---
import { Image } from "astro";
import myImage from "./my-image.jpg";
---
```
Alternatively to `densities`, `widths` can be used for specific widths. In both cases, according images and the following code will be generated:
```html
```
(if `widths` is used the descriptor will be `w` instead of `x`)
## Picture component
The `Picture` component can be used to generate a `