---
title: "Copy"
subtitle: "<Copy> (alias <CopyText>) is inline text that copies on click."
---

Inline text that copies on click (alias `<CopyText>`):

```mdx
Platform API URL: <Copy icon>https://api.butterix.com/v1</Copy>
Copy a command: <Copy clipboard="npm install -g bitidocs" icon>Install the CLI</Copy>
```

Platform API URL: <Copy icon>https://api.butterix.com/v1</Copy>

Copy a command: <Copy clipboard="npm install -g bitidocs" icon>Install the CLI</Copy>

<ParamField path="clipboard" type="string">Text to copy; defaults to the displayed text (`text` and `value` also work).</ParamField>
<ParamField path="icon" type="boolean" default="false">Show a copy icon after the text.</ParamField>
