A custom component that adds a favicon and a badge that you can use to show for example number of unread messages
A preprocessor for Svelte can be used to fetch data before the component is compiled.