Skip to content
pandacoderz/ui

Support Inbox

Ticket list with an AI-drafted reply you can retone, edit, and send.

Open in new tab ↗

What’s inside

  • Ticket list with priority, status filters, and previews.
  • Message renders the customer thread.
  • AI draft streams a reply, switches tone on demand, and becomes editable when done.
  • Suggestions list one-click actions such as refunds or escalation.

Installation

npx shadcn@latest add https://ui.spencerwueste.com/r/support-inbox.json

The registry item pulls in every component it depends on.

Usage

import SupportInbox from "@/components/blocks/support-inbox/support-inbox";

export default function Page() {
  return (
    <div className="h-dvh p-4">
      <SupportInbox />
    </div>
  );
}

Give the parent a bounded height. The block fills it and scrolls internally.

Going live

Replace the per-ticket drafts with a model call that takes the thread and the selected tone. Sending should post the reply to your helpdesk and mark the ticket resolved.