Component

Support Ticket Card

Customer support ticket card with priority badge, conversation thread, timestamps, and action buttons.

  • Component
  • Tailwind
  • HTML
  • MIT

What it does

Capabilities

  • Ticket ID
  • Priority badge
  • Conversation
  • Customer info
  • Action buttons

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.site/library/tailwind/components/cards/support-ticket-card/
fluid · no fixed width 100%
No dependencies Production-ready

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Cards/support-ticket-card
registry path: Tailwind/Components/Cards/support-ticket-card

Source

Implementation

code.html
<div class="bg-white rounded-2xl border border-gray-100 shadow-sm overflow-hidden">
  <div class="p-5 border-b border-gray-100">
    <div class="flex items-center justify-between mb-3">
      <div class="flex items-center gap-3">
        <div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center">
          <svg class="w-5 h-5 text-red-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/>
          </svg>
        </div>
        <div>
          <p class="text-xs text-gray-500">Ticket #2847</p>
          <h4 class="font-semibold text-gray-900">Payment Failed</h4>
        </div>
      </div>
      <span class="px-3 py-1 bg-red-100 text-red-700 text-xs font-semibold rounded-full">High Priority</span>
    </div>
    
    <div class="flex items-center gap-4 text-xs text-gray-500">
      <span class="flex items-center gap-1">
        <svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"/>
        </svg>
        Opened 2h ago
      </span>
      <span>•</span>
      <span>Customer: [email protected]</span>
    </div>
  </div>
  
  <div class="p-5">
    <p class="text-sm text-gray-700 mb-4">I tried to upgrade my subscription but my payment was declined. I've tried three different cards and all show the same error. This is urgent as my team needs access to the premium features.</p>
    
    <div class="bg-gray-50 rounded-xl p-4 mb-4">
      <div class="flex items-start gap-3">
        <img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=64&h=64&fit=crop&crop=faces" alt="Agent" class="w-8 h-8 rounded-full object-cover">
        <div class="flex-1">
          <div class="flex items-center gap-2 mb-1">
            <span class="text-sm font-medium text-gray-900">Support Agent</span>
            <span class="text-xs text-gray-500">• 1h ago</span>
          </div>
          <p class="text-sm text-gray-600">Hi, I apologize for the inconvenience. I'm looking into this issue right now. Could you please confirm which payment method you'd like to use?</p>
        </div>
      </div>
    </div>
  </div>
  
  <div class="px-5 py-4 bg-gray-50/50 border-t border-gray-100 flex items-center justify-between">
    <div class="flex gap-2">
      <button class="px-4 py-2 border border-gray-200 text-gray-700 text-sm font-medium rounded-lg hover:bg-gray-100 transition-colors">
        Reply
      </button>
      <button class="px-4 py-2 border border-gray-200 text-gray-700 text-sm font-medium rounded-lg hover:bg-gray-100 transition-colors">
        Escalate
      </button>
    </div>
    <button class="px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 transition-colors">
      Resolve
    </button>
  </div>
</div>
60 lines UTF-8 · LF · Spaces: 2
DevSnips AI ready Claude · Cursor · Windsurf

Agent skill & Model Context Protocol

Pass this component straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.

devsnips://components/cards/support-ticket-card
Prompt instruction
I want to use this DevSnips resource in production:

Page:
https://devsnips.site/library/tailwind/components/cards/support-ticket-card/

Install: npx devsnips add
Tailwind/Components/Cards/support-ticket-card

This is the Support Ticket Card — Customer support ticket card with priority badge, conversation thread, timestamps, and action buttons.

Use this DevSnips resource as the starting point for my project.
Adapt it to my project's stack and conventions, fix any issues,
and make it production-ready while preserving its intended design
and behavior.

Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.

Resource URI
devsnips://components/cards/support-ticket-card