useFavicon

A React hook for dynamically drawing on the favicon. Composite badges, text bubbles, or progress indicators onto your existing favicon with the Canvas API, or swap in an emoji. Useful for notifying users of changes while they are on another tab.

npm install react-usefavicon