Snippet with SnippetCopyButton in the header for clipboard copy.
npx shadcn@latest add @shadcnblocks/snippet-snippet-copy-1
Sign in or get a license at Shadcn Blocks to see its source and install it.