Can you use Streamlit elements in a custom component?


Can I use a standard Streamlit element in a custom component? Taking in user input (int) I would like that many custom component to be created. Seems like I need to use custom components to allow all the “keys” to be unique?
The standard form doesn’t quite meet my needs as you cannot do callbacks between form elements for disabling / enabling another element in the form?

Anyways, given this foo=int I would need to add that many components. An element in that component would be the standard camera element input. Is there a way to use that element on the typescript side?

Thanks for any insight or suggestions that you may have. Just starting with Streamlit and it seems like a great tool. Much appreciated.

Since that is pretty much the only feature of forms, you should be fine not using a form at all.

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