Skip to main content

Streamlit component that allows to create image carousel

Project description

Streamlit st-img-carousel component

Streamlit component for image-carousel:

Installation:

Install the component with : pip install st-img-carousel

Example:

from st_img_carousel import img_carousel

def main():

    image_urls = [

    ]
    selected_img_url = img_carousel(image_urls=image_urls, height=200)

    if selected_img_url is not None:
        st.image(selected_img_url)

if __name__ == "__main__":
    main()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

st-img-carousel-0.0.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

st_img_carousel-0.0.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page