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.5rc1.tar.gz (275.6 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.5rc1-py3-none-any.whl (277.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: st_zoom_buttons-0.0.5rc1.tar.gz
  • Upload date:
  • Size: 275.6 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.5rc1.tar.gz
Algorithm Hash digest
SHA256 1b8e1129a05840267d68dd3d7531d7ddce38a2cbc9770a36ecfa580c892c178a
MD5 52721fdc3e47f09bc0e5a62044ae64fb
BLAKE2b-256 9e5742ee565a7656e93007a2007206231eed63bb076e7c8dddfe73da71d9b431

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for st_zoom_buttons-0.0.5rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 e250b1198efd207727333c184ed1a242f9c3125e26a389ff79764d97277dcbd1
MD5 3bd48fdd3f213a5de232608d25a3c0d5
BLAKE2b-256 9ff1fa672816265abc432d001c8407eff4c9846bdbd6f538e1a3b369469049ba

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