# Inndy/vue-clipboard2

A simple vue2 binding to clipboard.js

Repository: https://github.com/Inndy/vue-clipboard2
Canonical: https://ross.abutalabs.com/products/vue-clipboard2
Homepage: https://vue-clipboard2.inndy.tw/
Language: JavaScript
License: MIT
License Family: permissive
Topics: vue, vuejs, vue2, vuejs2, clipboard, copy
Last push: 2023-10-25T04:53:36+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3528, "days_push": 1043, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1752, forks 238 (observed 2026-08-28T04:05:31.796330+00:00)

## What it is
A Vue.js 2 plugin that binds clipboard.js to Vue, providing a v-clipboard directive and a $copyText method for copying text to the clipboard. It is officially deprecated since the native Clipboard API now covers its use case.

## Use cases
- copy text to clipboard in a vue 2 app
- add a copy-to-clipboard button with vue directives
- copy text programmatically without a button in vue
- copy text inside bootstrap modals with vue

## When to choose
- you maintain a legacy Vue 2 codebase that already uses it
- you must support very old browsers lacking navigator.clipboard

## When to avoid
- starting a new project - use navigator.clipboard.writeText instead
- building with Vue 3 - use a maintained alternative
- you need long-term support or updates

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components
- domain: frontend, web-development
- platform: browser
- tags: vue2, clipboard, vue-plugin, deprecated, nodejs

## Member repositories
- Inndy/vue-clipboard2 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:31.796330+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:28:16.280664+00:00, confidence not recorded.
  - readme: https://github.com/Inndy/vue-clipboard2 (fetched 2026-08-28T04:05:31.796330+00:00, sha f589472e05ac)
  - homepage: https://vue-clipboard2.inndy.tw/ (fetched 2026-08-29T11:06:36.000199+00:00, sha 32454a4e2556)
  - registry_npm: https://registry.npmjs.org/vue-clipboard2 (fetched 2026-08-29T11:06:36.009634+00:00, sha f252515e14fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
