# \#ui

**URL:** https://discuss.streamlit.io/tag/ui/227.md

[Latest](https://discuss.streamlit.io/latest.md) · [Categories](https://discuss.streamlit.io/categories.md) · [Tags](https://discuss.streamlit.io/tags.md)

---

## [Streamlit-rail-nav: a collapsible icon-rail sidebar that expands on hover — no iframe, no frontend build](https://discuss.streamlit.io/t/streamlit-rail-nav-a-collapsible-icon-rail-sidebar-that-expands-on-hover-no-iframe-no-frontend-build/122495)

<div class="topic-metadata">

**Author:** [@ai11](https://discuss.streamlit.io/u/ai11)\
**Replies:** 0\
**Last updated:** [September 17, 2026, 4:18pm UTC](https://discuss.streamlit.io/t/streamlit-rail-nav-a-collapsible-icon-rail-sidebar-that-expands-on-hover-no-iframe-no-frontend-build/122495 "2026-09-17T16:18:28Z")

</div>

Hey everyone, I’m excited to share streamlit-rail-nav: a configurable icon-rail sidebar for Streamlit apps. The sidebar collapses down to a thin strip of icons and smoothly expands into a full labeled menu on hover — th…

---

## [New component: Pydantic Object Builder (streamlit-pydantic-object-builder)](https://discuss.streamlit.io/t/new-component-pydantic-object-builder-streamlit-pydantic-object-builder/122347)

<div class="topic-metadata">

**Author:** [@EDT-Andrew](https://discuss.streamlit.io/u/EDT-Andrew)\
**Replies:** 0\
**Last updated:** [September 4, 2026, 7:08pm UTC](https://discuss.streamlit.io/t/new-component-pydantic-object-builder-streamlit-pydantic-object-builder/122347 "2026-09-04T19:08:07Z")

</div>

New component to build complex Pydantic objects based on Pydantic models in your code. Supports inline editing, a library of objects to drag and drop as nested sub-objects in complex models. Motivation behind this co…

---

## [NeuroDiag-AI: A Clinical Triage App using Progressive Disclosure (Nested Session State)](https://discuss.streamlit.io/t/neurodiag-ai-a-clinical-triage-app-using-progressive-disclosure-nested-session-state/120877)

<div class="topic-metadata">

**Author:** [@Stefano5](https://discuss.streamlit.io/u/Stefano5)\
**Replies:** 4\
**Last updated:** [March 26, 2026, 2:26am UTC](https://discuss.streamlit.io/t/neurodiag-ai-a-clinical-triage-app-using-progressive-disclosure-nested-session-state/120877 "2026-03-26T02:26:07Z")

</div>

Hi Streamlit Community! :waving\_hand: I’m a former medical student from Italy, currently transitioning into Data Science and Bioinformatics. During my clinical rotations, I noticed a huge issue: medical software often l…

---

## [Split Button Component with Material 3 Design](https://discuss.streamlit.io/t/split-button-component-with-material-3-design/119501)

<div class="topic-metadata">

**Author:** [@JonathanAlles](https://discuss.streamlit.io/u/JonathanAlles)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 9:06pm UTC](https://discuss.streamlit.io/t/split-button-component-with-material-3-design/119501 "2025-09-18T21:06:51Z")

</div>

A Split Button is really useful to keep a clean and tidy layout, while offering your user many secondary options. Perfect for scenarios like “Save” (primary action) with options for “Save As Copy”, “Save Template”, e…

---

## [New Component: streamlit-product-card](https://discuss.streamlit.io/t/new-component-streamlit-product-card/113494)

<div class="topic-metadata">

**Author:** [@msr2903](https://discuss.streamlit.io/u/msr2903)\
**Replies:** 2\
**Last updated:** [May 31, 2025, 7:32pm UTC](https://discuss.streamlit.io/t/new-component-streamlit-product-card/113494 "2025-05-31T19:32:53Z")

</div>

A flexible and customizable Streamlit component designed to display product-like information cards within your applications. This component offers a range of features for controlling layout, image display, responsive …

---

## [Streamlit-scroll-navigation - New Streamlit component for seamless scroll-based navigation](https://discuss.streamlit.io/t/streamlit-scroll-navigation-new-streamlit-component-for-seamless-scroll-based-navigation/83816)

<div class="topic-metadata">

**Author:** [@nibbler](https://discuss.streamlit.io/u/nibbler)\
**Replies:** 22\
**Last updated:** [March 4, 2025, 5:21am UTC](https://discuss.streamlit.io/t/streamlit-scroll-navigation-new-streamlit-component-for-seamless-scroll-based-navigation/83816 "2025-03-04T05:21:07Z")

</div>

Introducing streamlit-scroll-navigation: flexible scroll-based navigation for Streamlit Hey everyone, I’m excited to introduce streamlit-scroll-navigation, a customizable scroll-based navigation component for Streamlit a…

---

## [How to execute function on hyperlink text](https://discuss.streamlit.io/t/how-to-execute-function-on-hyperlink-text/88434)

<div class="topic-metadata">

**Author:** [@Nafay1](https://discuss.streamlit.io/u/Nafay1)\
**Replies:** 1\
**Last updated:** [December 29, 2024, 5:13pm UTC](https://discuss.streamlit.io/t/how-to-execute-function-on-hyperlink-text/88434 "2024-12-29T17:13:03Z")

</div>

Hello Everyone!! I am working to create a login sign up page using streamlit. I am facing an issue regarding working of hyperlink text. Basically, I want when I click on SignUp hyperlink text, my SignUp function will w…

---

## [Fixing Responsive Design in Streamlit App](https://discuss.streamlit.io/t/fixing-responsive-design-in-streamlit-app/87972)

<div class="topic-metadata">

**Author:** [@naor117](https://discuss.streamlit.io/u/naor117)\
**Replies:** 0\
**Last updated:** [December 19, 2024, 8:34am UTC](https://discuss.streamlit.io/t/fixing-responsive-design-in-streamlit-app/87972 "2024-12-19T08:34:09Z")

</div>

Hi, I am new to Streamlit, and I recently built a chat application for my organization using Streamlit. However, I made a mistake while styling the app. I customized the entire page by directly modifying the CSS of Stre…

---

## [New tomj0311/streamlit\_mui\_elements Streamlit App](https://discuss.streamlit.io/t/new-tomj0311-streamlit-mui-elements-streamlit-app/87481)

<div class="topic-metadata">

**Author:** [@Tom3](https://discuss.streamlit.io/u/Tom3)\
**Replies:** 0\
**Last updated:** [December 11, 2024, 5:24am UTC](https://discuss.streamlit.io/t/new-tomj0311-streamlit-mui-elements-streamlit-app/87481 "2024-12-11T05:24:13Z")

</div>

Check out this awesome Streamlit app I built using Material UI

---

## [Injecting Javascript to already existing component streamLit](https://discuss.streamlit.io/t/injecting-javascript-to-already-existing-component-streamlit/86733)

<div class="topic-metadata">

**Author:** [@Alia1](https://discuss.streamlit.io/u/Alia1)\
**Replies:** 2\
**Last updated:** [December 2, 2024, 6:40am UTC](https://discuss.streamlit.io/t/injecting-javascript-to-already-existing-component-streamlit/86733 "2024-12-02T06:40:03Z")

</div>

Hi, I am trying to inject Javascript to streamlit usi that will help make sure that streamlit will stop scroll as new output is stream from LLM. But for some reason whenever I trying getting an element from the DOM(stM…

---

## [How to prevent auto scrolling to the bottom](https://discuss.streamlit.io/t/how-to-prevent-auto-scrolling-to-the-bottom/86662)

<div class="topic-metadata">

**Author:** [@Alia1](https://discuss.streamlit.io/u/Alia1)\
**Replies:** 2\
**Last updated:** [November 29, 2024, 3:44am UTC](https://discuss.streamlit.io/t/how-to-prevent-auto-scrolling-to-the-bottom/86662 "2024-11-29T03:44:36Z")

</div>

I am using streamlit 1.40 version. How to prevent streamlit interface from automatically scrolling to the bottom when new chat information is being written. It keeps scrolling to the bottom and I just want to be able to…

---

## [Whenever we use center block option in scrollintoview the entire page scrolls up. is there an alternative way to ensure that the latest message is always centered without causing the whole page to shift?](https://discuss.streamlit.io/t/whenever-we-use-center-block-option-in-scrollintoview-the-entire-page-scrolls-up-is-there-an-alternative-way-to-ensure-that-the-latest-message-is-always-centered-without-causing-the-whole-page-to-shift/86486)

<div class="topic-metadata">

**Author:** [@sum](https://discuss.streamlit.io/u/sum)\
**Replies:** 0\
**Last updated:** [November 26, 2024, 7:02am UTC](https://discuss.streamlit.io/t/whenever-we-use-center-block-option-in-scrollintoview-the-entire-page-scrolls-up-is-there-an-alternative-way-to-ensure-that-the-latest-message-is-always-centered-without-causing-the-whole-page-to-shift/86486 "2024-11-26T07:02:58Z")

</div>

js\_code = f""" \<script\> var dummyVariable = {st.session\_state.js\_counter}; console.log("Dummy Variable Valu…

---

## [How to add a Title/ text Or Few sample Prompts close to the chat\_input()?](https://discuss.streamlit.io/t/how-to-add-a-title-text-or-few-sample-prompts-close-to-the-chat-input/64757)

<div class="topic-metadata">

**Author:** [@Supernova](https://discuss.streamlit.io/u/Supernova)\
**Replies:** 10\
**Last updated:** [May 19, 2024, 3:44pm UTC](https://discuss.streamlit.io/t/how-to-add-a-title-text-or-few-sample-prompts-close-to-the-chat-input/64757 "2024-05-19T15:44:33Z")

</div>

My Question Or Request to the community is very simple to catch. How could we add a Title or some texts Or few sample example prompts close to the chat\_input() field which we call as prompt box. It is always stays at t…

---

## [Access to app theme](https://discuss.streamlit.io/t/access-to-app-theme/67721)

<div class="topic-metadata">

**Author:** [@scawagray](https://discuss.streamlit.io/u/scawagray)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 8:30pm UTC](https://discuss.streamlit.io/t/access-to-app-theme/67721 "2024-05-09T20:30:15Z")

</div>

Is there a way to access the app theme set by the user via settings? I know you can access config theme but how about if its dynamically set?

---

## [Custom CSS button in Streamlit](https://discuss.streamlit.io/t/custom-css-button-in-streamlit/68080)

<div class="topic-metadata">

**Author:** [@AJ\_x](https://discuss.streamlit.io/u/AJ_x)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 3:20pm UTC](https://discuss.streamlit.io/t/custom-css-button-in-streamlit/68080 "2024-04-26T15:20:52Z")

</div>

Hello, I am currently trying to make a custom CSS button import into my local Streamlit host, but the button is not showing up. The button is going to be a signup button. Any help would be appreciated, thank you. This i…

---

## [Chat Messages on Mobile devices - the space is too narrow](https://discuss.streamlit.io/t/chat-messages-on-mobile-devices-the-space-is-too-narrow/67570)

<div class="topic-metadata">

**Author:** [@Simon\_Kos](https://discuss.streamlit.io/u/Simon_Kos)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 1:35pm UTC](https://discuss.streamlit.io/t/chat-messages-on-mobile-devices-the-space-is-too-narrow/67570 "2024-04-22T13:35:04Z")

</div>

Hi, I am using Streamlit to build a chatbot. It is hosted on render.com It renders great on desktop. The mobile experience is not very good! The space for the messages to show is too narrow - is it something that co…

---

## [Streamlit UI disappearing](https://discuss.streamlit.io/t/streamlit-ui-disappearing/67180)

<div class="topic-metadata">

**Author:** [@vegas](https://discuss.streamlit.io/u/vegas)\
**Replies:** 3\
**Last updated:** [April 17, 2024, 8:11am UTC](https://discuss.streamlit.io/t/streamlit-ui-disappearing/67180 "2024-04-17T08:11:43Z")

</div>

Hi. I’m currently building a streamlit app locally and am struggling with implementing the UI. So the code I’m struggling with is a part of the function of a larger class but what I want to happen is for 3 sliders to pop…

---

## [Streamlit button not working](https://discuss.streamlit.io/t/streamlit-button-not-working/67179)

<div class="topic-metadata">

**Author:** [@vegas](https://discuss.streamlit.io/u/vegas)\
**Replies:** 1\
**Last updated:** [April 17, 2024, 8:08am UTC](https://discuss.streamlit.io/t/streamlit-button-not-working/67179 "2024-04-17T08:08:07Z")

</div>

Hi. I’m currently building my streamlit app locally and I’m having trouble getting the submit button to work. Ideally, when given a list of elements, I want the app to print out an accompanying description & picture for …

---

## [Crewai streamlit UI](https://discuss.streamlit.io/t/crewai-streamlit-ui/64793)

<div class="topic-metadata">

**Author:** [@chan](https://discuss.streamlit.io/u/chan)\
**Replies:** 2\
**Last updated:** [March 22, 2024, 5:31pm UTC](https://discuss.streamlit.io/t/crewai-streamlit-ui/64793 "2024-03-22T17:31:18Z")

</div>

Demo:

---

## [Streamlitcallbackhandler hide empty text](https://discuss.streamlit.io/t/streamlitcallbackhandler-hide-empty-text/64982)

<div class="topic-metadata">

**Author:** [@starskiin3d](https://discuss.streamlit.io/u/starskiin3d)\
**Replies:** 6\
**Last updated:** [March 19, 2024, 12:18pm UTC](https://discuss.streamlit.io/t/streamlitcallbackhandler-hide-empty-text/64982 "2024-03-19T12:18:14Z")

</div>

Hello, I have implemented streamlitcallbackhandler with my chat bot, but before it writes the answer there is empty text displayed. Is there any way to hide empty text? callback = StreamlitCallbackHandler(st.empty()…

---

## [Hiding the header in 1.31.1](https://discuss.streamlit.io/t/hiding-the-header-in-1-31-1/63398)

<div class="topic-metadata">

**Author:** [@streamlitisawesome](https://discuss.streamlit.io/u/streamlitisawesome)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 3:30pm UTC](https://discuss.streamlit.io/t/hiding-the-header-in-1-31-1/63398 "2024-03-01T15:30:49Z")

</div>

Hi there I’m using Streamlit 1.31.1 and Python3 I am using st.markdown to create a custom HTML header. The issue is that there are a bunch of HTML tags/classes wrapped around this in the browser, such as: \<div class=…

---

## [Importing local CSS file into Streamlit](https://discuss.streamlit.io/t/importing-local-css-file-into-streamlit/63400)

<div class="topic-metadata">

**Author:** [@streamlitisawesome](https://discuss.streamlit.io/u/streamlitisawesome)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 2:23pm UTC](https://discuss.streamlit.io/t/importing-local-css-file-into-streamlit/63400 "2024-03-01T14:23:42Z")

</div>

Hi there, I’m on Streamlit 1.31.1 and Python3 I’m using this setup and trying to import a local CSS file into example.py Can anyone let me know how I import a local CSS file? I’ve tried this and moved the CSS file arou…

---

## [Ticket Stream - Live Event Search Application Powered by Ticketmaster](https://discuss.streamlit.io/t/ticket-stream-live-event-search-application-powered-by-ticketmaster/63134)

<div class="topic-metadata">

**Author:** [@REPNOT](https://discuss.streamlit.io/u/REPNOT)\
**Replies:** 0\
**Last updated:** [February 24, 2024, 7:02pm UTC](https://discuss.streamlit.io/t/ticket-stream-live-event-search-application-powered-by-ticketmaster/63134 "2024-02-24T19:02:50Z")

</div>

Ticket Stream - Built with Streamlit → Powered by Ticketmaster Discover live events in your area with instant access to the latest event listings from Ticketmaster with Ticket Stream, an easy to use multi-layout Stream…
