CopyButton

Copies a value to the clipboard and says Copied for two seconds. Text or icon only; onBlocked fires when the browser refuses, so the caller can say what to do instead.

Playground

variant
<CopyButton
  value="The Meridian rewrite, and why the obvious fix was wrong."
  label="Copy the post"
  variant="primary"
/>