For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog inStart for free
  • Getting started
    • Overview
    • How it works
    • Quickstart
    • Project structure
    • Customer showcase
    • Changelog
  • Configuration
    • Overview
    • Site-level settings
    • Page-level settings
  • Writing content
    • Markdown basics
    • Rich media in Markdown
      • Overview
      • Accordion
      • Anchor
      • Aside
      • Badge
      • Button
      • Callout
      • Card
      • Code block
      • Copy
      • Download
      • Endpoint request snippet
      • Endpoint response snippet
      • Endpoint schema snippet
      • Webhook payload snippet
      • Files
      • Frame
      • Icon
      • If
      • Indent
      • Parameter field
      • Prompt
      • Runnable endpoint
      • Schema
      • Step
      • Table
      • Tab
      • Tooltip
      • Versions
    • Fern Editor
    • Reusable snippets
  • AI features
    • Overview
    • Fern Writer
    • AI-generated examples
    • Markdown access
      • Overview
      • Customize LLM output
      • Agent directives
      • Analytics and integration
    • MCP server
    • API catalog discovery
  • Public API
    • GETJWT from Fern API key
    • GETAlgolia search credentials
    • GETCurrent user information
  • Fern Writer API
    • GETGet Fern Writer Install Link
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free
On this page
  • Usage
  • Variants
  • Custom clipboard content
  • Properties
Writing contentComponents

Copy

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Code block

Next

Download

The <Copy> 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
1Use the Fern CLI to build and consume REST APIs. The current version is <Copy>v2.0</Copy>.

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
1Install the CLI using <Copy clipboard="npm install -g bamboo-leaf-cli">npm install</Copy>

Properties

children
string | ReactNodeRequired

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.