NextJS Image Optimization #191599
NextJS Image Optimization
#191599
-
🏷️ Discussion TypeQuestion BodyHow can I reduce LCP (Largest Contentful Paint) when using next/image with an SVG in Next.js? Here’s my current implementation: The image is an SVG and is displayed smaller using CSS, but it still seems to affect my LCP. What is the best practice for handling SVGs in Next.js to improve LCP? Should I still use next/image, or switch to a regular Any suggestions on optimizing this would be appreciated. Guidelines
|
Beta Was this translation helpful? Give feedback.
Answered by
Uriah08
Apr 5, 2026
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lorenz-reelist8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To lower the LCP (Largest Contentful Paint) when using next/image with an SVG, you need to prioritize loading and reduce render delay.
Example:

What to improve:
width={330}
height={330}
OR inline it directly inside JSX for best performance