St-social-media-links: An Easy-to-Use Social Media Link Display for Streamlit

Hi everyone!

I’m excited to share the release of the st-social-media-links library. This package is designed to make it easy to add social media links to your Streamlit apps.

Live Demo. Documentation. Pypi.

With st-social-media-links, you can display links to your/your projects’ social media profiles. The package supports a variety of social media platforms, including Facebook, YouTube, Instagram, TikTok, LinkedIn, X/Twitter, Reddit, Pinterest, Discord, Twitch, Threads, and Tumblr. You can also include links to Github or Gitlab.

In the Streamlit apps I am working on I was embedding links/icons directly, but wrapping them up in a package makes the code much less cluttered, and I thought I could just make it available for others. The library is pretty lightweight and uncomplicated to use.

Here’s a use example:

import streamlit as st
from st_social_media_links import SocialMediaIcons

social_media_links = [

social_media_icons = SocialMediaIcons(social_media_links)


st-social-media-links allows you to add the links the main-page or the sidebar (or both), and offers customization options (for the icon order, color, and distribution you find more aesthetically pleasing).

I hope you find st-social-media-links useful for your Streamlit projects. Whether you’re building a data dashboard, a machine learning model, or simple web app, st-social-media-links may help you make it look more professional and engaging.

Please let me know if you have any feedback or suggestions!



Great addition, love it!

1 Like