next-bg-image

Changelog

February 8, 2024

0.3.0

When using the eager prop, the component now generates a <link rel="preload"/> tag in your app's <head>. This significantly accelerates the loading of important images.

January 23, 2024

0.2.0

In Next.js 14.1, getImageProps is now stable, and we now support it while remaining backwards compatible with older versions of Next.js (back to 13.5 when they first introduced unstable_getImgProps).

We introduced a new prop, eager, which allows you to opt into prioritized loading for important images.

We've also added a demo page to showcase the various features of the component.

January 9, 2024

0.1.0

We're out of beta! The component is now stable for use in production, but as this is a pre-1.0.0 release, expect lots of changes in upcoming updates. Read the full documentation here.