{"library":"react-copy-to-clipboard","type":"library","category":null,"description":"react-copy-to-clipboard is a React component that simplifies the process of copying text to the user's clipboard. It acts as a wrapper around the core `copy-to-clipboard` library, offering a declarative API for use within React applications. The component intelligently attempts to copy text using `document.execCommand('copy')`, falls back to the IE-specific `clipboardData` interface, and, if all else fails, provides a prompt for manual copying. The current stable version is 5.1.1. Releases are generally driven by dependency updates, bug fixes, or new React version compatibility. Its key differentiators include its simple, single-child wrapper pattern and its robust, multi-strategy approach to clipboard access, ensuring broad browser compatibility and reliability.","language":"javascript","status":"active","version":"5.1.1","tags":["javascript","component","react-component","react","copy to clipboard","clipboard"],"install":[{"cmd":"npm install react-copy-to-clipboard","imports":["import { CopyToClipboard } from 'react-copy-to-clipboard';"]},{"cmd":"yarn add react-copy-to-clipboard","imports":[]},{"cmd":"pnpm add react-copy-to-clipboard","imports":[]}],"homepage":null,"github":"https://github.com/nkbt/react-copy-to-clipboard","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-copy-to-clipboard","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-copy-to-clipboard/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}