G GlassUI

CopyButton

A small utility button that copies text to the clipboard and provides visual feedback.

Playground

Explore all copybutton props interactively.

Props

The text to copy to the clipboard.

If true, only shows the icon. If false, shows "Copy" text.

Button size

Theme color

Render style

Glass surface density

Disabled state

Usage alongside inputs

Often used alongside disabled input fields to easily copy API keys or URLs.

API Key

sk_live_51M...