uğur sözen

Export JSON

AI chats

About

A mini code viewer card that shows a structured JSON response with a filename header, copy button, and preformatted preview body.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Export JSON to your project and fits it to your theme.

Code

How Export JSON is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Ai43 } from "@/components/ui/ai43";

export default function Default() {
  return (
    <Ai43
      filename="response.json"
      content={`{
  "answer": "Use Redis INCR",
  "sources": 3,
  "latency_ms": 420
}`}
    />
  );
}

Dependencies

More by uğur sözen

View all
  • Worth Keeping CTA

    Worth Keeping CTA

    221
  • Comparison Slider with Highlights

    Comparison Slider with Highlights

    194
  • Before/After Image Slider

    Before/After Image Slider

    125
  • Invoice History Table

    Invoice History Table

    71
  • Recipe Card

    Recipe Card

    38
  • Shop by Category Grid

    Shop by Category Grid

    36
  • PIN Keypad Unlock

    PIN Keypad Unlock

    36
  • Trigger to Action

    Trigger to Action

    34

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Message Thread

    Message Thread

    45
  • System Message

    System Message

    58
  • Color Picker

    Color Picker

    110
  • Attachments

    Attachments

    22
  • Environment Variables

    Environment Variables

    14
  • AI Diff

    AI Diff

    74