Skip to main content

streamlit-vertical-slider

Creates a constinuous vertical slider with color customizations.


Update ⚠️

Version 2.5

  • Fixed issue where default value was not been sent back to Streamlit
  • Refactor label into a tooltip reducing the width of the widget by 30%
  • Adjusted default size of track, rail and thumb to match Streamlit's native slider.
  • Slider Color can now be a tuple in order to create a gradient.
  • Matched the label style to native Streamlit slider label.

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

sample

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 Streamlit Red
    slider_color = ('red','blue'), #Optional
    thumb_color= "orange", #Optional - Defaults to Streamlit Red
    value_always_visible = True ,#Optional - Defaults to False
)

Metadata

Release files for streamlit-vertical-slider 2.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-vertical-slider 2.5.5
File Size Uploaded Provenance
streamlit_vertical_slider-2.5.5.tar.gz 635.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-vertical-slider 2.5.5
File Interpreter ABI Platform
streamlit_vertical_slider-2.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 2.4 MB

Release files / streamlit_vertical_slider-2.5.5.tar.gz

Download URL streamlit_vertical_slider-2.5.5.tar.gz
Size 635.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d6854cf81a606f5c021df2037d2c49036df2d03ce5082a5227a2acca8322ca74
BLAKE2b-256 checksum
How to use checksums
29b6c4596692276174e01899e4da3bdcef101451bc45f1a738aad54a0e60bcfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / streamlit_vertical_slider-2.5.5-py3-none-any.whl

Download URL streamlit_vertical_slider-2.5.5-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8182e861444fcd69e05c05e7109a636d459560c249f1addf78b58e525a719cb6
BLAKE2b-256 checksum
How to use checksums
4e3ff16875fa650cc6f6c1bc19ef9ccae5a1a7f434ec08747181743b48c31830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for streamlit-vertical-slider 2.5.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.5.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page