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.5rc2.tar.gz (274.8 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.5rc2-py3-none-any.whl (276.6 kB view details)

Uploaded Python 3

File details

Details for the file st_zoom_buttons-0.0.5rc2.tar.gz.

File metadata

  • Download URL: st_zoom_buttons-0.0.5rc2.tar.gz
  • Upload date:
  • Size: 274.8 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.5rc2.tar.gz
Algorithm Hash digest
SHA256 143d72f2f6aba63cf3af05c3c9b3134bdf7b0fefcaf80022ec18516b01c4823d
MD5 53f291ec5f0822485cbf6896ac3b10f1
BLAKE2b-256 18d37dead1ec311fcd473688c83615f2d55593b8387e9eb8c0a96c56ecf6cf89

See more details on using hashes here.

File details

Details for the file st_zoom_buttons-0.0.5rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for st_zoom_buttons-0.0.5rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2c67fab4aefa4cdf2f760a4401d4319dbd5da1f2b41b3a159cc228767db706b
MD5 6ee56cc86b1b87dd2695713d73674a3a
BLAKE2b-256 426f3800251ba795a9b07a24c7f36aedf7e264136ab5ba0a6b06acfa7e8f1610

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