Export JSON

Mini code viewer for a structured response, with a filename header, copy button, and a preformatted JSON preview body.

response.json
{
  "answer": "Use Redis INCR",
  "sources": 3,
  "latency_ms": 420
}

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Ai43 } from "@/components/beste/piece/ai43";

<Ai43
  filename="response.json"
  content="{
  \"answer\": \"Use Redis INCR\",
  \"sources\": 3,
  \"latency_ms\": 420
}"
/>