{{#copy-button
  clipboardText=clipboardText
  success=(action 'copySuccess')
  error=(action 'copyError')
  class="flex__item share-icon js-share-icon share-icon--animate copy js-copy-button balloon-wrapper"
}}
  <div class="balloon-wrapper">
    <svg viewBox="0 0 32 32">
      <use xlink:href="#icon_copy"></use>
    </svg>
  </div>
  <div class="balloon balloon--tooltip balloon--up balloon--center balloon--toggle {{if showTooltip 'show' 'hide'}}">
    {{#if copySuccess}}
      {{i18n 'Copied'}}
    {{else if copyError}}
      {{i18n 'Press ⌘+C to Copy'}}
    {{else}}
      {{i18n 'Copy to clipboard'}}
    {{/if}}
  </div>
{{/copy-button}}
