Copy button
A button that copies a piece of text to the clipboard with one click.
Also called: copy, copy button, copy to clipboard, clipboard, two squares, overlapping squares, copy the number, copy the code, copy promo code, copy link, copy text
What it is for
It takes the pain out of copying long values: account numbers, promo codes, tokens. It also prevents mistakes from selecting text by hand. A successful copy should be confirmed visually, with a toast or an icon that turns into a checkmark.
Where you see it
- Fintech — copying account details
- Documentation — copying code snippets
- Marketing — copying promo codes
What it is called in code
navigator.clipboard.writeText()copy to clipboard
See also
- Share button — A button that sends the current content out through other channels: social networks, messengers.
- Toast (notification) — A small message that pops up briefly at the bottom or in a corner of the screen and disappears on its own.
- Promo code field — A text field for entering a code of letters and numbers that recalculates the order total.