sanity-image
sanity-image copied to clipboard
React component for displaying well-optimized images from Sanity.io easily
Great stuff as always I'm using style on the image to make hotspot work correctly when using object fit like this: ```typescript ``` I think due to the spread of...
I'm noticing a small layout shift when the image finishes loading and the preview image is swapped out with the real image. The real image is 1128x600px (an aspect ratio...
Hey @coreyward great library, thanks! The "Wrap it internally" section of the readme has a TS example that looks like: ``` import { SanityImage } from "sanity-image" const projectId =...
This PR adds support for vanity names, as referenced in the Sanity docs [here](https://www.sanity.io/docs/image-url#vanitynamefilename). When passing in a `vanityName` prop, that string is appended to the URL before the query...