Jumpstart docs logo Back to the app

Clipboard

Clipboard

You can use the clipboard controller to copy text to the clipboard (with tooltips on success).

Add data-controller="clipboard" data-clipboard-text="Text for clipboard" to the element.