RayCraftDocs
v1.0.3 raycraft.dev
On this page

CopyButton

Free

Copies a text to the clipboard and confirms it with a check mark. Needs a secure context (https or localhost).

Example

CopyButton control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
LabelstringVisible text; without it the button shows only the icon.
StylestringInline style added to the root element.
TextstringThe text that is copied.
VariantVariantVisual style: Filled, Outlined or Text.

Events

EventTypeDescription
OnCopiedEventCallback

Package

CopyButton is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.