To create this, I set up a component with four variants: default, hover, pressed, and clicked. On hover, the icon transitions from hidden to visible. In the pressed state, the icon scales down slightly to give tactile feedback. On click, the variant switches to a confirmation state, instantly indicating that the email has been copied.
To handle the click to copy interaction, I used the Copy to Clipboard component, keeping everything no-code and easy to reuse.