Intrinsic Layout
When use intrinsic layout, the image will first render wrapper element accordingly with
width and height of image, this useful to achieve zero CLS (cumulative layout shift).
don't forget to pass value for props width and height.
Fixed Layout
When use fixed layout, the image dimensions will not change as the viewport changes (no
responsiveness) similar to the native img element.
don't forget to pass value for props width and height.
Responsive Layout
When use responsive layout, the image will have auto dimensions based on assets width and
height.
don't forget to pass value for props width and height.
Fill Layout
When use fill layout, the image will stretch both width and height to the dimensions of its
parent element, This is usually paired with the objectFit property.