Crystallize
React Image Srcset

React Image Srcset

A React srcset package to output an img tag with different source variations from Crystallize using srcset.

NPM logoReact Image Srcset

How to use

import Img from '@crystallize/react-image';

<Img src={image.src} alt={image.alt} />

More information about React Srcset

Håkon wrote a blog post revealing more details about React srcset. Read more about React Srcset.