Skip to content

Copy inline usage guidelines

The CopyInline component shows read-only information and allows users to quickly copy that data to their clipboard.

  • For unique codes that users need to quickly copy, like Product IDs, asset IDs, or order numbers.
  • For short, fixed strings of data or code that shouldn’t be edited but could be copied.
  • When the data is part of a paragraph.
  • For large blocks of text or code. Use a dedicated code block or text area with a separate copy button instead.
  • When the copied data is not visible or is a link, use copy button instead.

The CopyInline component displays text with a fixed icon on the right side. Icon size is based on the text size and cannot be customized. When the user copies the value to the clipboard, the icon changes to a checkmark, and a confirmation tooltip appears over it.

CopyInline supports all text sizes and variants available in Cimpress UI. The text and the icon automatically scale to match the current text size.

The component is designed to be inline and compact, ideal for embedding within lists, data tables, or configuration forms where users need to quickly copy information. CopyInline should always appear next to the data label or to the value that it represents.

Product category
Product ID
Sales
T-shirts123
Business cards456
Flyers789
  • Never alter the spacing between the icon and the text.
  • When used in groups or lists, keep the spacing consistent.
  • The value to be copied should be displayed in full. For longer pieces of text, use a separate copy button instead.
  • Do not alter the tooltip confirmation text.
  • The copy function is activated when the user presses either the copy icon or the copyable text.
  • When hovering over the component, the copyable text is highlighted.
  • After a successful copy, the copy icon changes to a checkmark icon, and a confirmation tooltip is shown.
  • After a short delay the component returns to its base state, showing the copy icon again.