General
Customization
Favicons & Icons
Learn how to generate and integrate favicons and app icons for your project.
Generating a favicon
- Visit Favicon Generator.
- Upload an image (recommended size: at least 512×512px for optimal resizing).
- Click on Create Favicon
Downloading
Click Download to save the generated files.
Copying and overwriting
- Select all downloaded files, excluding
browserconfig.xmlandmanifest.json. - Copy and paste the files into the
publicdirectory.
Updating metadata
Update the favicon references in app/layout.tsx:
app/layout.tsx
export const metadata = {
icons: {
icon: '/favicon.ico',
apple: '/apple-touch-icon.png'
}
// ...
};Note that sometimes it takes time for the browser to reflect favicon changes. Try clearing your browser cache or doing a hard refresh.