priority prop

A next/image prop that marks an image as important so it is preloaded and not lazy-loaded.

In more detail

Use it for the largest image visible without scrolling, such as a hero banner, to speed up Largest Contentful Paint. Next.js 16 replaced it with a preload prop.

Related terms

Taught in

References