Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a stepper widget #10748

Open
2 tasks done
lukasmasuch opened this issue Mar 12, 2025 · 1 comment
Open
2 tasks done

Add a stepper widget #10748

lukasmasuch opened this issue Mar 12, 2025 · 1 comment
Labels
area:widgets type:enhancement Requests for feature enhancements or new features

Comments

@lukasmasuch
Copy link
Collaborator

lukasmasuch commented Mar 12, 2025

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

Add an element that allows to guide a user through a series of discrete steps. This is a common widget also sometimes referred to as progress steps, stepper, progress indicator, wizard component...

Image

Why?

Sometimes, people want to do apps where the user needs to go through multiple steps. This is not well supported in Streamlit today.

How?

selected_step = st.stepper(["Ready", "Get Set", "Go"])
if selected_step == "Ready":
    # Do stuff

We probably also want to support this in a horizontal & vertical direction and allow a way to programmatically set the selected step (e.g. via session state). Another potential feature is to set icons for every step.

Additional Context

@lukasmasuch lukasmasuch added type:enhancement Requests for feature enhancements or new features area:widgets labels Mar 12, 2025
Copy link

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:widgets type:enhancement Requests for feature enhancements or new features
Projects
None yet
Development

No branches or pull requests

1 participant