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.2.tar.gz (3.2 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.2.tar.gz.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.2.tar.gz
Algorithm Hash digest
SHA256 67074785aeb968fc46f0119acd67478a068310f9648120e7fd64f8647ca4bd6d
MD5 fc871bd9393fb5ede9cdd62ca284ca22
BLAKE2b-256 8607ff4dfeced42b63d61b2540a1e0f75ec430c95d914c63faa8711b2b061d28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a5c098645d73d992b4c7d7a4545b8a671456fb247fe0d1001682f930d2c7af
MD5 fb47f91e5cfb0cd723b113911985343b
BLAKE2b-256 af16d652889bc03a87148527b0a7857cf19addad508d33fb8e09216744c96910

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