Skip to main content

Streamlit zoom buttons component

Project description

Streamlit zoom-buttons component


Streamlit zoom buttons component

Installation instructions

pip install st-zoom-buttons

Usage instructions

import streamlit as st

from st_zoom_buttons import st_zoom_buttons

clicked_button = st_zoom_buttons()

st.write(f"Clicked: {clicked_button}")

Function interface

def st_zoom_buttons(
    key=None,
    font_size="10px",
    width="35px",
    border_radius: int = 0,
    title: str = "",
    disabled: list[str] | None = None,
    on_zoom_in: Optional[Callable[[], None]] = None,
    on_zoom_out: Optional[Callable[[], None]] = None,
    on_zoom_reset: Optional[Callable[[], None]] = None,
) -> str:

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_zoom_buttons-0.0.4.tar.gz (274.7 kB view details)

Uploaded Source

Built Distribution

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

st_zoom_buttons-0.0.4-py3-none-any.whl (276.5 kB view details)

Uploaded Python 3

File details

Details for the file st_zoom_buttons-0.0.4.tar.gz.

File metadata

  • Download URL: st_zoom_buttons-0.0.4.tar.gz
  • Upload date:
  • Size: 274.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for st_zoom_buttons-0.0.4.tar.gz
Algorithm Hash digest
SHA256 672c153d7dd20fc5ea84cb1642ff3a5817b3ce1ba2b3f53d0a9460d78a407192
MD5 10f6f1138dd2beaef14c5ead06d42a02
BLAKE2b-256 1c2e3f81f770342fe4ecac40155987f085c6fa90195a1a474289d2fa1d0d57ec

See more details on using hashes here.

File details

Details for the file st_zoom_buttons-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: st_zoom_buttons-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 276.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for st_zoom_buttons-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9c6d584dd39fa66f502069300beb43f9649dd408634da081368b37b8a3077fb1
MD5 538dbf6252da38378d0c668426e1b8ec
BLAKE2b-256 073140184533473cf5062d0005cb6f5f0c75a3e58fab96e40b35cbcaba0f590c

See more details on using hashes here.

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