# `useFavicon` React side-effect hook sets the favicon of the page. ## Usage ```jsx import {useFavicon} from 'react-use'; const Demo = () => { useFavicon('https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico'); return null; }; ```