Tomas Laurinavicius
How to Set Up Favicon for Your Next.js Project
Here are some useful resources if you're trying to set up a favicon for your Next.js project.
-
Complete Favicon Generator: In the end, I used this generator in Figma. Thank you, Ernest Ojeh!
-
Metadata Files API Reference (favicon, icon, and apple-icon) from the official Next.js documentation. I found it not very clear and spent time asking Phind to help me find a solution.
-
RealFaviconGenerator: It promises to generate perfect favicon files in 5 minutes. It's doing a good job, but many files were missing.
-
Favicon checker: Use this tool to check if everything is working properly. It has some requirements, and I deployed without satisfying all of them.
Here's my working code snippet:
Published: Jul 2, 2023 (over 1 year ago)Alicante, Spain