Copy Button

A button component for copying text to clipboard with visual feedback

Preview

Installation

Usage

Examples

Custom Icons

Customize the copy and check icons by providing your own icon components.

API Reference

The CopyButton component extends the Button component with clipboard functionality. All Button props are supported except size, variant, onClick, and children which are controlled internally.

Props

CopyButton

Button that copies text to clipboard with visual feedback. Extends the Button component.

Prop