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.4.tar.gz (3.3 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.4.tar.gz.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.4.tar.gz
Algorithm Hash digest
SHA256 5579a5dde9045acfaa874fa1274f8b56c6dbba571db089c218bec406f94f4ba9
MD5 126ca6d2ed68609d7657400c987f1f9d
BLAKE2b-256 d86e79224e52fb4211d650fcfec805f3af3a9c6f602b1e448d9d0db8dedb9935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5d0475515cad741a5960fd88554aa51e03e1ef9cbadd641d27ec480c2e2ab2f3
MD5 d7e4572000645084d614bbc250287476
BLAKE2b-256 d5cd4bbd810bec380f39fea0f6771ca5509f832d7e172892738f2b5584a50ebf

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