docs/4.api/1.components/9.nuxt-img.md
<NuxtImg> is a drop-in replacement for the native `` tag.
src to provider-optimized URLswidth and heightsizes optionIn order to use <NuxtImg> you should install and enable the Nuxt Image module:
npx nuxt module add image
<NuxtImg> outputs a native img tag directly (without any wrapper around it). Use it like you would use the `` tag:
<NuxtImg src="/nuxt-icon.png" />
Will result in:
::read-more{to="https://image.nuxt.com/usage/nuxt-img" target="_blank"}
Read more about the <NuxtImg> component.
::