Elm, meet Streamlit 🤝

Hey all :wave: ,

I’ve been using Elm for a while now and I love it. Around the time I discovered Elm I started a new job at a company called Streamlit where I worked on the team that implemented the Streamlit components architecture. Thought it would be cool to make a Streamlit component in Elm, and wanted to share with the community what I made - would love to hear what you guys think!

13 Likes

If I understood well, It allows you to use Elm components with bindings in the JavaScript world, correct?

@francescortiz, correct. In particular, the index.ts file provides the connection between Streamlit Component Library and Elm ports.

Nice! I do Elm only development, but some people might be interested!

I’ve been working on the “Elm-only” version of streamlit-component-lib as well. It’s not an official package, so it doesn’t have all the functionality - but it worked well on my side projects.

Let me know if you are interested.

Could be. What does it offer?

There is no way to send or receive pandas.DataFrames for now. But other than that, all of the core functionality is present.

I wanted exactly this for an internal streamlit app at some point, but couldn’t justify spending time figuring out if it was possible.

So, thank you very much for doing this - hope to try it out soon.

2 Likes

I’m glad you found it useful!
Please let me know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.