Frontend: Add a copy-to-clipboard button in the code snippet in the component tab

Context

See the context in !132764 (comment 1584043156)

@f_caplette mentioned:

  1. In the designs, the code snippets for the components did not have a copy-to-clipboard button so I did not add one. If we want that functionality, we can also create a follow-up!

Proposal

Edited by Sunjung Park