Skip to content
Discussion options

You must be logged in to vote

It works quite the samge way as other image formats such as png, jpeg, etc. I have this in one project <Image src={`/images/layouts/${variant}.svg`} width={200} height={200} priority alt="Page not found" className="w-auto h-auto" />.

If you're referring to SVG config, here's a good place to start. You can as well go throught the full doc. Here is another discussion on SVG, you want to look at

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by samcx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #76888 on March 07, 2025 22:50.