This component provides an easy way to copy text content to the clipboard. It displays the content normally and shows a copy button on hover, with visual feedback when content is copied.
Very very long text that is so long it will wrap to the next line
Very very long text that is so long it will overflow and get truncated
<p tuiTitle>
<span tuiSubtitle>Bank account</span>
<tui-copy>1234 42069237 88884321</tui-copy>
</p>
<p>
<tui-copy>Very very long text that is so long it will wrap to the next line</tui-copy>
</p>
<tui-copy><span>Very very long text that is so long it will overflow and get truncated</span></tui-copy>
Dedicated component for copying values inside tooltips
Taiga UI
When you copy, the result will have a space prepended and appended: " Taiga UI " .
<tui-copy [tuiCopyProcessor]="processor">Taiga UI</tui-copy>
<p>
When you copy, the result will have a space prepended and appended:
<code>" Taiga UI "</code>
.
</p>