Add image carousel element

Open
#7,775 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
frontend, web-dev

Research direction

Start by reviewing how st.image() currently renders multiple images and compare the proposed st.carousel() API with the linked shadcn carousel component. Done should mean multiple images can be displayed in a horizontal-scroll carousel through a clearly defined interface.

Written by the indexing model from the issue text.

Description

feature:st.image type:enhancement type:possible-component
Checklist
  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.
Summary

if multiple images are to be displayed then st.image() displays them one below the other
instead I would prefer a horizontal scroll like carousel

Why?

if multiple images are to be displayed then st.image() displays them one below the other
instead I would prefer a horizontal scroll like carousel

How?

st.carousel()

Additional Context
Dominant language
Python
Stars
45.8k
Forks
4.4k
Avg merge
21h 22m
Merged PRs (30d)
316

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from streamlit/streamlit

All issues in streamlit/streamlit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.