Skip to main content

A Streamlit copy-to-clipboard button component that respects the streamlit page styles.

Project description

streamlit-copy-to-clipboard-button

A Streamlit copy-to-clipboard button component that respects the streamlit page styles.

Demo

Installation instructions

pip install streamlit-copy-to-clipboard-button

Usage instructions

import streamlit as st

from streamlit_copy_to_clipboard_button import copy_to_clipboard

copy_to_clipboard(
    "Text to copy",
    label="Copy to clipboard",  # Optional
    label_after_copy="Copied!"  # Optional
)

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_copy_to_clipboard_button-1.0.7.tar.gz (404.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file streamlit_copy_to_clipboard_button-1.0.7.tar.gz.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.7.tar.gz
Algorithm Hash digest
SHA256 2eed334e04fe2b08845d2bc809a1d77c50744b344c39f2394a3fbd29537647f6
MD5 2b47c1274f532385d5168fd9583ba135
BLAKE2b-256 dd99992ec43bc6100d37df77bcd0f1904e829ed5e596ca5386b31a9902d052bb

See more details on using hashes here.

File details

Details for the file streamlit_copy_to_clipboard_button-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ed8333828a8dabc4089404b183e85672407734931d95797136868db21f91db8d
MD5 98d5afc5f36f59533fe554dd0a9f9327
BLAKE2b-256 81559bcdb2401d7782025a0cf45064986be46f486cf52557457dfba1bad9bc9f

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