Coupon codes beside an offer
Display a code such as HELLO10 next to a promotion. Visitors can copy the exact code instead of retyping it; applying that discount remains the responsibility of your checkout.

Let visitors copy a code, address or any short text with one click.
Try the plain default, a coupon with a copy icon and a styled email button. Copy the sample, then paste it into a text field to check the result. A multiline reference and empty state show how longer or missing text behaves.
Content source contains Text to copy and Button label. Behaviour contains Success message, Error message and Empty text message. Display contains Show text beside button. Icon contains Show icon, Icon and Position. Style separates Button, Icon, Layout, Displayed text and Feedback message.
A coupon code or contact address is easier to use when visitors can copy it directly. This Elementor widget places a copy button beside your text, with a success message after the visitor copies it. Use it for plain-text coupon codes, reference numbers, email addresses or other text you want visitors to reuse.
Display a code such as HELLO10 next to a promotion. Visitors can copy the exact code instead of retyping it; applying that discount remains the responsibility of your checkout.
Offer a copy action for visitors who prefer to paste your address into their own mail application. A clear label tells them what will be placed on the clipboard.
Copy an account reference, booking code or plain-text instruction from a page. Keep sensitive information out of public pages and choose a label that describes the copied text.
Start with Complementor installed and your license connected. Enable this module in the WordPress library, then configure it in Elementor.
Install Complementor, connect your license and enable Copy text button in the WordPress module library.
Edit the page with Elementor, add Copy text button and enter Text to copy in Content source. Give the button a clear label describing the copied value.
Set success, error and empty-text feedback in Behaviour. Choose whether the clipboard text is visible in Display and optionally select an icon in Icon.
In Style, adjust the button’s typography, surface and Normal/Hover/Focus states. Set icon spacing, text/button layout and displayed-text styling separately.
Publish, reopen the editor to confirm saved settings, then test keyboard activation, copied text and fallback feedback on the HTTPS page.
Configure the settings available for this module to suit the page you are building.
Content source: enter Text to copy and Button label. Both support the native dynamic tags available through your Elementor edition and installed integrations.
Behaviour: edit Success message, Error message and Empty text message. Empty or whitespace-only text disables the copy action.
Display: turn Show text beside button on or off. Hiding the displayed text does not change the text copied.
Icon: enable Show icon, choose Icon and set Position to Before label or After label. Style the icon with Size, Gap and Colour.
Button: customize typography, alignment, padding, border, corner radius and Normal, Hover and Focus appearance, including a visible focus outline.
Layout: choose Text and button as Side by side or Stacked, with responsive Gap. Displayed text has its own typography, Text colour, Background, border, Padding and Corner radius.
Feedback message: set typography, Text colour and Space above. Success and failure appear separately while the button label and icon remain in place.
Compare the existing Elementor workflow with this Complementor module before choosing your setup.
Elementor Pro’s Code Highlight widget already includes a copy-to-clipboard control for code examples. Use it when you need syntax highlighting and a code box; Complementor offers a standalone plain-text button for codes and addresses.
If another installed addon already gives you a suitable copy button, you can keep using it. A custom clipboard script is another option, but you must maintain its browser fallback, feedback and styling yourself.
Complementor uses classic Elementor APIs. Atomic-native controls are not implemented. Check your theme, cache and integrations on a staging site before release.
Check these settings if the published page behaves differently from the editor.
Test on HTTPS and activate the button directly. Browser restrictions can reject clipboard access. The widget attempts a legacy fallback; if both methods fail, it reveals a selectable readonly field even when displayed text is hidden.
Text to copy and Button label are separate. Check the clipboard source in Content source, including any available dynamic tag, then refresh cached HTML and test the published page.
Empty or whitespace-only clipboard text disables copying and uses your empty-text explanation. There is no displayed-text chip until nonempty text is supplied. A blank button label falls back to Copy text.
Your success message appears in a separate status below the button. The visible button label and selected icon stay in place.
Yes. Enter the code as Text to copy and use a label such as Copy code. The button copies the code; your checkout still handles applying it.
The source and label support available native Elementor dynamic tags. Providers depend on your edition and integrations; an ACF value requires the appropriate dynamic-tag integration.
Yes. Turn off displayed text. If automatic copying fails, a selectable manual field can still show the clipboard text for recovery.
Yes. Select an optional native icon, place it before or after the label and adjust its color, size and gap. Native border, radius, padding and state controls style the button.
Empty or whitespace-only source text disables the action and displays your empty-text explanation. It does not copy a fabricated placeholder.
This module is included in Complementor All Access. Choose your production website allowance; every plan includes the same available modules.
Renews at $29 USD each year.
Renews at $49 USD each year.
Renews at $99 USD each year.
Applicable taxes extra. Annual subscriptions renew automatically unless canceled in your customer account. Read the terms and 14-day technical-issue refund policy.