React Build Status

More examples and additional documentation for the React library can be found on GitHub at: https://github.com/imgix/react-imgix.

This library was created by Frederick Fogerty.

Example

import Imgix from "react-imgix";

// in react component
<Imgix 
  src="https://assets.imgix.net/unsplash/bear.jpg" 
  sizes="100vw" 
  htmlAttributes={{ alt: "A bear image" }}
  imgixParams={{ fit: "clip" }}
/>

More tools