# json viewer, 21st-elements component by elements-

A collapsible tree component for displaying and exploring JSON data, with type-based syntax highlighting, live search filtering, and click-to-copy JSONPath fo

> Page: https://ui.eneawork.it/comp/21st-elements/json-viewer
> Markdown: https://ui.eneawork.it/comp/21st-elements/json-viewer.md

- Library: [21st-elements](/components/lib/21st-elements)
- HTML page: https://ui.eneawork.it/comp/21st-elements/json-viewer

## Install

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