$ errors.fyi/nextjs/no-img-element 128 namespaces · 4,025 codes
nextjs · nextjs/no-img-element
no-img-element

No img Element

A raw HTML <img> element was used instead of the next/image component. The next/image component provides automatic image optimization, lazy loading, and prevention of Cumulative Layout Shift (CLS). Replace <img> with the Image component imported from 'next/image'.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT