Displaying Vanity URL

I have a table of websites that I manage, but displaying only the plain URL text doesn’t look very appealing. I’d like to show both the URL and its favicon. Is there a way to achieve this in Retool?

2 Likes

Hi @Kelsey_Marquez ,

One way to achieve this in Retool is by formatting your website URL column as an avatar.

You can then use Google’s favicon service endpoint to fetch the site’s favicon and display it as the avatar image.

{{`https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${item}&size=128`}}

This is how it will look like on your table:

Keep in mind that this method only works for websites that are indexed in Google Search.

1 Like