Skip to content
usefy

JsonViewer

ComponentsJSON inspection

Virtualized JSON tree viewer for React — a bounded DOM at any payload size, chunked search, and a zero-dependency headless engine

Live demo

Install

$ npm install @usefy/json-viewer

Quick start

JsonViewer.tsx
import { JsonViewer } from "@usefy/json-viewer";

export function ResponseInspector({ payload }: { payload: unknown }) {
  return <JsonViewer data={payload} height={480} />;
}

Go deeper

This page is the quick reference. For every example, prop, and edge case, read the full README — or open Storybook to change props live.

More in components