Clipboard Text
kumo-svelte
wrangler deploy --env production

Installation

Barrel

Granular

Usage


export default function Example() {
  return <ClipboardText text="Copy this text" />;
}

Examples

Short Text

wrangler deploy --env production

API Key

wrangler deploy --env production

Copy Alternate Text

wrangler deploy --env production

Long Text

wrangler deploy --env production

With Tooltip

Shows "Copy" tooltip on hover, "Copied!" toast on click.

wrangler deploy --env production

API Reference

Props table: ClipboardText