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

    198
  • Comparison Slider with Highlights

    Comparison Slider with Highlights

    191
  • Before/After Image Slider

    Before/After Image Slider

    120
  • Invoice History Table

    Invoice History Table

    66
  • Recipe Card

    Recipe Card

    38
  • PIN Keypad Unlock

    PIN Keypad Unlock

    34
  • Shop by Category Grid

    Shop by Category Grid

    33
  • Trigger to Action

    Trigger to Action

    33

More in AI chats

View all
  • AI Actions

    AI Actions

    317
  • Color Picker

    Color Picker

    73
  • Prompt with Model Picker

    Prompt with Model Picker

    2
  • Agent Chat

    Agent Chat

    17
  • Approval Card

    Approval Card

    12
  • System Message

    System Message

    53
  • Message

    Message

    48
  • AI Task List

    AI Task List

    159