Dev Design Library

Structured Output Viewer

A result panel for useGenerateObject extending Response: pretty-printed JSON, an independently-usable inference-stats footer (tokens, duration, attempts), and a navigable typed schema-tree view.

Structured Output Viewer preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Install
npx shadcn add @localmode/ui/ui/conversation/structured-output-viewer
Files
  • apps/ui/registry/localmode/conversation/structured-output-viewer/structured-output-viewer.tsx
  • apps/ui/registry/localmode/lib/utils.ts
  • apps/ui/registry/localmode/ui/tabs.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode