> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Copy > Make text copyable with a click-to-copy button. The `` component makes text copyable with a single click. Use it inline to allow readers to copy version numbers, commands, API keys, or other text snippets without selecting and copying manually. ## Usage Use the Fern CLI to build and consume REST APIs. The current version is v2.0 . **`Markdown`** ```jsx Markdown Use the Fern CLI to build and consume REST APIs. The current version is v2.0. ``` ## Variants ### Custom clipboard content Use the `clipboard` prop to display one value while copying a different value to the clipboard. This is useful when you want simplify commands, versions, or URLs for readability while copying complete values. Install the CLI using npm install **`Markdown`** ```jsx Markdown Install the CLI using npm install ``` ## Properties **`children`** `string | ReactNode` — required The text content to display and make copyable. This is what users see on the page. --- **`clipboard`** `string` Custom text to copy to the clipboard. Use this when you want to display one value but copy a different value. --- > Make text copyable with a click-to-copy button.