Copy

Wrapper: icon and text variants

1. Icon + text

2. Icons only

3. Text only

Primitive: source element + ignore selectors

Line numbers are rendered but ignored during copy via tngCopyIgnoreSelectors.

1pnpm nx run playground-tailwind:serve
2pnpm nx run playground-plain-css:serve
3pnpm tailng -- add copy --cwd apps/tailng-ui/playground-registry

No copy action yet.

Primitive: tngCopyButton API

This example uses tngCopyButtonText, tngCopyButtonTarget, and tngCopyButtonSuccessDurationMs. Text takes precedence over target.

target fallback: pnpm nx run playground-tailwind:serve

Waiting for copy action.