Skip to content
This repository has been archived by the owner on Feb 21, 2025. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 432 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 432 Bytes

st-copy-to-clipboard

Streamlit component that allows you to copy text to clipboard.

Installation instructions

pip install st-copy-to-clipboard

Usage instructions

Note: The clipboard API is only available in secure contexts (HTTPS)

import streamlit as st

from st_copy_to_clipboard import st_copy_to_clipboard

# Render copy to clipboard button
st_copy_to_clipboard("Copy this to clipboard")