How to make NextJS image responsive?

I want to load responsive images in my NextJS application. Can someone share the syntax for doing the same using ImageKit?