# code block, 21st-inference-sh--inference-sh component by inference-sh

A syntax-highlighted code block with line numbers, a language label header, and a copy-to-clipboard button, for displaying code snippets in docs or chat UIs.

> Page: https://ui.eneawork.it/comp/21st-inference-sh--inference-sh/code-block
> Markdown: https://ui.eneawork.it/comp/21st-inference-sh--inference-sh/code-block.md

- Library: [21st-inference-sh--inference-sh](/components/lib/21st-inference-sh--inference-sh)
- HTML page: https://ui.eneawork.it/comp/21st-inference-sh--inference-sh/code-block

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-inference-sh--inference-sh/code-block.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
