Skip to main content

Creates a customizable vertical slider

Reason this release was yanked:

Uprade to 2.5.3

Project description

streamlit-vertical-slider

Creates a constinuous vertical slider with color customizations.


Update ⚠️

Version 2.0

Changes:

  • Adds optional label argument
  • Adds optional thumb_shape argument (circle, square, pill)
  • Adds optional height argument, defaults to 200
  • Upgrade to Material-UI v5
  • Centralized labels and values
  • Support for Dark Mode

light

dark

Please update by:

pip install --upgrade streamlit-vertical-slider

Installation

pip install streamlit-vertical-slider

Usage

import streamlit as st
from  streamlit_vertical_slider import vertical_slider 

vertical_slider(
    label = "Your widget label",  #Optional
    key = "vert_01" ,
    height = 300, #Optional - Defaults to 300
    thumb_shape = "square", #Optional - Defaults to "circle"
    step = 1, #Optional - Defaults to 1
    default_value=5 ,#Optional - Defaults to 0
    min_value= 0, # Defaults to 0
    max_value= 10, # Defaults to 10
    track_color = "blue", #Optional - Defaults to #D3D3D3
    slider_color = 'lighgray', #Optional - Defaults to #29B5E8
    thumb_color= "orange", #Optional - Defaults to #11567f
    value_always_visible = True ,#Optional - Defaults to False
)

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

streamlit_vertical_slider-2.0.5.tar.gz (562.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file streamlit_vertical_slider-2.0.5.tar.gz.

File metadata

File hashes

Hashes for streamlit_vertical_slider-2.0.5.tar.gz
Algorithm Hash digest
SHA256 aaaa7e53005a382629e1ad6993eb7ff4b5d8de4cbfb531feba276eb056430c75
MD5 77764f9c288c92ade70d025984f18c11
BLAKE2b-256 ebc845378e0eaddc1eb670dc28a115c332503f52c862831810bc7dff880dca2d

See more details on using hashes here.

File details

Details for the file streamlit_vertical_slider-2.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_vertical_slider-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8a7efcf1de991d4168d8d5d1834dcf0d0c4369e160e48629f40c315c5cc92c
MD5 0c4d35fc4c57bc5e85cea6ab68bb9c7b
BLAKE2b-256 364936c0c07776ce28f8a9052df8875369a1ed1283a588d9ecc3d506a876cfda

See more details on using hashes here.

Supported by

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