Рет қаралды 20,811
Streamlit shines with how easy it is to create a stunning data application, but sometimes you just want to break its neat design to add your own custom styling, like round, colored buttons.
In this video, we explore the different solutions for changing the Streamlit design, from the official theming solution to the "CSS Hack".
👀 Chapters
0:00 Intro
0:25 Theming your Streamlit app
0:58 Creating custom Streamlit components
1:50 Prefacing the "unofficial" solutions
2:18 An important tool: Browser devtools
3:30 Hacking Streamlit CSS
5:17 Breaking the IFrame Sandbox
6:06 Caveats to the "unofficial" solutions
📧 My email list to keep up to date with the latest news, tutorials and resources about Streamlit & friends ➡ andfanilo-newsletter.streamli...
💰 Buy me a coffee to stay awake while editing ➡ www.buymeacoffee.com/andfanilo
🗣️ Find my socials ➡ andfanilo.com
👉 Links
- Source code: github.com/andfanilo/social-m...
- Theming: docs.streamlit.io/library/adv...
- Components: docs.streamlit.io/library/com...
- CSS Hack posts:
- discuss.streamlit.io/t/css-ha...
- discuss.streamlit.io/t/creati...
- Streamlit CSS Button: github.com/andfanilo/streamli...
- CSS Diner (miam): flukeout.github.io/
- Discussions on CSS Hacking:
- discuss.streamlit.io/t/are-yo...
- blog.streamlit.io/streamlit-c...
My tools (Affiliate links to support me!)
- 📷 Main Camera - amzn.to/3QvTosB
- 📷 Main Lens - amzn.to/3svYCwq
- 🎙️ Microphone - amzn.to/47l5ewA
- 🎵 Music & Sound Effects - www.epidemicsound.com/referra...
- 📕 Streamlit Official Book - amzn.to/3QuRPwl
👍 Like & Subscribe if you would like to see more videos!
(This one took me way too long! I think I'd like to do a long one once a month and shorter ones in between..)
External Resources
- HTML screen Video by Joseph Redfield: www.pexels.com/video/person-e...
- Woman hacking Video by cottonbro www.pexels.com/video/woman-ty...
- Smoke Photo by Marek Piwnicki unsplash.com/t/textures-patterns
#streamlit #python #datascience #dataapps
⚠️ Disclaimer: This video is not sponsored. Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. Thank you for supporting my channel so I can continue to provide you with free content each week!