I have UI designed for my web app using HTML and CSS. Can I use it as a layout for my streamlit web app ?
Hi Vansh,
Sure, you can use html and css components with streamlit. Just use components.html or components.iframe
https://docs.streamlit.io/library/components/components-api#streamlitcomponentsv1html
Thanks,
Akshansh
Thanks for answering the question. I went through the documentation and found this warning.
So this won’t work in the latest version of streamlit ?
I tried it, seems to work
Great ! I’ll try to implement this too. Thanks .
The error you’re seeing is a documentation issue for static components being tracked here: Autofunctions for `components.v1.html`, `components.v1.iframe` are broken · Issue #15 · streamlit/docs · GitHub
We’re working on a fix!
Best,
Snehan
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.