Hyperlink in streamlit without markdown

I would like to know is there any updates for streamlit where we could use hyperlink without markdown? I need it for one of my application where the user would login and on clicking the link the app opens. Is this possible?

1 Like

Hey @harish_natarajan,

Can you clarify what you mean? Maybe a little example code of what you have and what your trying to achieve?

Happy Streamlit-ing!
Marisa

Hey @Marisa_Smith. What I mean is something like streamlit.hyperlink( “link_name”). It would be nice to have such features in streamlit of its not there already. Expecting to see this feature soon.

Regards
Harish

Hey @harish_natarajan,

I believe that we already have the feature your looking for, you can definitely put hyperlinks in a Streamlit app

import streamlit as st 

st.write("check out this [link](https://share.streamlit.io/mesmith027/streamlit_webapps/main/MC_pi/streamlit_app.py)")

will produce:
check out this link

Cheers!
Marisa

Hey @Marisa_Smith,

Thanks for the reply. I wasn’t knowing this exist. It would be extremely useful for my future project. Thank you.

Regards
Harish

@Marisa_Smith, it’s similar to adding links in GitHub markdown right?

yes it is! :blush:

Hi @Marisa_Smith I would like to create an icon that links to a page.
Is it possible? Thanks in advance.

Hey @ParthRangarajan,

First, Welcome to the Streamlit community! :tada: :partying_face: :star2: :smile_cat:

Not that I know of or have tried, but that doesn’t mean that the community hasn’t found an answer (or have an idea) of how you might be able to do that.

I would peruse the wealth of knowledge here on the forum and if you can’t find what your looking for make a new post and see what others have to say! :hugs: (the new post will be easier for others to find and answer than continuing a thread here!)

Happy Streamlit-ing!
Marisa