svelte-sanity-image
A Svelte component that allows you to easily create responsive images from images stored in Sanity.io.
Demos:
Basic Implementation
Hotspot Support
Normalized Aspects
Load Animation
Github
NPM
Hotspot Support
Cropping to an aspect will adhere to hotspots if defined in Sanity.
(Show code)
Aspect:
Portrait
Landscape