f0rextasy

Order Card

Component

About

A status card for an order or shipment that shows an order ID, a colored status badge, an optional progress bar, and a list of line items with quantities.

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

Code

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

Usage.tsx

import { OrderCard } from "@/components/ui/order-card";

export default function OrderCardDemo() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-background p-8 text-foreground">
      <OrderCard
        orderId="#102938"
        status="Processing"
        progress={0.65}
        items={[
          { label: "Design Services", qty: 1 },
          { label: "Development", qty: 5 },
        ]}
        className="w-full max-w-sm"
      />
    </div>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    5
  • Board Checklist

    Board Checklist

    3
  • Time Input

    Time Input

    3
  • Running Order Timeline

    Running Order Timeline

    2
  • Network Graph

    Network Graph

    2
  • Empty State Card

    Empty State Card

    1
  • Invite Modal

    Invite Modal

    1
  • Striped Progress Bar

    Striped Progress Bar

    1