Useful if you have any IDs or other details you want to copy for use in messages or outside of Plain.

Example copy button

A copy button has the following properties:

  • copyButtonTooltipLabel (optional): the text that should be displayed on hover. Defaults to the value if not provided.
  • copyButtonValue: the value that should be copied to the user's clipboard after clicking the button

For example:

  "componentCopyButton": {
    "copyButtonTooltipLabel": "Order ID",
    "copyButtonValue": "2a8f2dae-3580-402b-aa0a-243efae55e39"