Components
← All components

Clipboard

stimeo--clipboard

Copies text to the clipboard and announces completion in a live region.

The stimeo--clipboard controller copies the source target's value (or an explicit text value) using the standard navigator.clipboard API — no extra dependency. Success and failure are reflected on data-state and announced through a role="status" live region, never by icon alone. The completion notice clears itself after feedbackDuration, and an stimeo--clipboard:copy event carries { success, text }. Behavior only — styling is owned by this Playground.

running

Keyboard

KeyAction
Enter / Space Activate the copy button (native button).