Hi everyone, I like customize my web app, and I like to know is it possible to change the style of the UI in the interactive widget? If yes, how can I do that? Thanks!
for example : the “+” in the expander
icon of the tooltips.
![]()
Hi everyone, I like customize my web app, and I like to know is it possible to change the style of the UI in the interactive widget? If yes, how can I do that? Thanks!
for example : the “+” in the expander
icon of the tooltips.
![]()
Hi @C45513 -
In general, no, the ability to change those symbols in the widgets isn’t built into Streamlit right now. It may be possible using some fancy CSS or something, but changing them at runtime probably wouldn’t be very stable.
Best,
Randy
just as an example

[aria-expanded="true"] > [data-baseweb="icon"] > path[fill-rule="evenodd"] {
d: path("M7.247 4.86l-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z");
color: #737579;
}

[aria-expanded="false"] > [data-baseweb="icon"] > path[fill-rule="evenodd"] {
d: path("M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z");
color: #737579;
}