Tooltip component and input label styling now in st_yled!

Hey fellow Streamlit’ers!

I created a tooltip component which can be placed anywhere on you app. The component is part of the st_yled package (st_yled docs). Check st_yled studio to get an interactive view on Streamlit styling and new components.

The second update is stylable input element labels, for instance for text_input or date_input.

Here some examples, and more in the st_yled docs.

# Tooltip
st_yled.tooltip(
    title="Quick Hint",
    text="Use st_yled for better layouts",
    background_color="#ff4b4b",
    title_color="#ffffff",
    text_color="#ffffff"
)

# styled text_input
st_yled.text_input(
    "Name",
    label_font_weight="600", 
    label_color="#737373",
    label_font_size="12.0px"
)
1 Like