Syntax-highlighted code preview with a language header, copy button, optional line numbers, and collapsible `<pre>` content. Use for installation snippets, API examples, and source you want users to copy verbatim.
npx shadcn@latest add https://uipkge.dev/r/react/code-block.jsoncode-block