- Forums
- react
- How To Add Favicon Url Icon To A React Application
This page is for sharing the code to implement a favroites icon into a react application [5306], Last Updated: Mon Jun 24, 2024
edw
Sun Apr 07, 2024
0 Comments
162 Visits
To implement and make a picture or image show on the browser url icon, follow these steps:
- Create a .png image file
- open public/index.html and add the folowing code inise <head>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
- done
Thats it, very simple to add an icon to a react app.