tvst / st-annotated-text

A simple component to display annotated text in Streamlit apps.
Apache License 2.0
523 stars 41 forks source link

so how to show it in sidebar #32

Closed newdee closed 1 year ago

newdee commented 2 years ago

like this title

tvst commented 1 year ago
import streamlit as st
from annotated_text import annotated_text

with st.sidebar:
  annotated_text(
      "Hello ",
      ("from the sidebar", "Truth!"),
  )