# code block, 21st-0xuser64bit--0xuser64bit component by 0xuser64bit

A figure that displays source code with a filename/language caption and a one-click copy-to-clipboard button, for showing selectable snippets with long lines.

> Pagina: https://ui.eneawork.it/comp/21st-0xuser64bit--0xuser64bit/code-block
> Markdown: https://ui.eneawork.it/comp/21st-0xuser64bit--0xuser64bit/code-block.md

- Libreria: [21st-0xuser64bit--0xuser64bit](/components/lib/21st-0xuser64bit--0xuser64bit)
- Pagina HTML: https://ui.eneawork.it/comp/21st-0xuser64bit--0xuser64bit/code-block

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-0xuser64bit--0xuser64bit/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`.
