# Clickable Links from Dataframe

**URL:** <https://discuss.streamlit.io/t/clickable-links-from-dataframe/40384>\
**Category:** Using Streamlit\
**Created:** [March 30, 2023, 9:46am UTC](https://discuss.streamlit.io/t/clickable-links-from-dataframe/40384 "2023-03-30T09:46:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://discuss.streamlit.io/u/Eric)\
**Post date:** [March 30, 2023, 9:46am UTC](https://discuss.streamlit.io/t/clickable-links-from-dataframe/40384/1 "2023-03-30T09:46:32Z")

</div>

I need clickable links in my dataframe. Is it supported in Streamlit?  
There is a workaround with st\_aggrid, but its a pain to configure and it seems the latest version wont render links

---

<div class="post-metadata">

**Author:** ![mathcatsand](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/mathcatsand/32/48006_2.png) [@mathcatsand](https://discuss.streamlit.io/u/mathcatsand)\
**Post date:** [March 31, 2023, 7:22am UTC](https://discuss.streamlit.io/t/clickable-links-from-dataframe/40384/2 "2023-03-31T07:22:04Z")

</div>

Check out these related threads for some options:

> [@Creating an Aggrid with columns with embedded URLs](https://discuss.streamlit.io/t/creating-an-aggrid-with-columns-with-embedded-urls/39624/2):
>
> Use a backtick in: '\<a href=${params.value} target="\_blank"\>${params.value}\</a\>' like this: `\<a href=${params.value} target="_blank"\>${params.value}\</a\>`

> [@How to display a clickable link pandas dataframe](https://discuss.streamlit.io/t/how-to-display-a-clickable-link-pandas-dataframe/32612):
>
> Hello, I have a pandas dataframe containing clickable links. In jupyter notebook, it displays a dataframe with clickable links that directs me corresponding directories as shown below: [image] However, when I try to run display the dataframe in streamlit, it wouldn’t render html and does not show the clickable link as shown below: Here’s a reproducible code for your reference: import streamlit as st import pandas as pd data = [dict(name='Google', url='http://www.google.com'), …

---

<div class="post-metadata">

**Author:** ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://discuss.streamlit.io/u/Eric)\
**Post date:** [March 31, 2023, 7:55am UTC](https://discuss.streamlit.io/t/clickable-links-from-dataframe/40384/3 "2023-03-31T07:55:03Z")

</div>

Thanks for your reply. I tried those workarounds but the both come with a lot of drawbacks. I hope streamlit will support the rendering of clickable links in the future

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [March 30, 2024, 7:55am UTC](https://discuss.streamlit.io/t/clickable-links-from-dataframe/40384/4 "2024-03-30T07:55:05Z")

</div>

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