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

A collapsible tree viewer for JSON Schema objects that shows type badges, required-field indicators, descriptions, and value constraints for each property.

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

- Libreria: [21st-elements](/components/lib/21st-elements)
- Pagina HTML: https://ui.eneawork.it/comp/21st-elements/schema-viewer

## Install

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