Copy button

Icon-only button that copies a text value to the clipboard with checkmark feedback.

Formatters, copy/export, JSON viewer, dividers, and helpers.

lr-copy-button

import '@aceshooting/lyra-ui/components/lr-copy-button.js';

Read guide (English)

Related components

  • Diff view — Renders a real two-string line diff as color-coded unified-diff output.
  • Element picker — Highlights page elements for selection with a pointer or keyboard.
  • Divider — Themeable semantic separator for splitting content horizontally or vertically.
  • Export button — Download table data as CSV or JSON, single-format or via a format menu.
  • Format bytes — Locale-aware byte-size formatting with an adjustable unit step and precision.
  • Format date — Locale-aware date and time formatting via Intl.DateTimeFormat.