API reference
Wrapper component
The wrapper renders a native button, swaps its label and icon state while copying, and exposes a polite live region for success and error feedback. Use it when you want a production-ready copy control without owning the transient state machine yourself.
Content and feedback inputs
Primitive foundation
Under the hood, the wrapper forwards text, from, and ignoreSelectors into the headless tngCopy directive. If you need hotkeys, programmatic copy, or owner-managed live announcements, move to the dedicated headless CopyButton page and use tngCopy directly.