Skip to content

jonn26/st-copy-to-clipboard

 
 

Repository files navigation

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")

About

Streamlit component that allows you to copy text to clipboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 45.2%
  • Python 35.8%
  • CSS 10.1%
  • HTML 8.9%