# Deal Card

> One deal: title, company, value, probability, close date, owner, days in its stage and the next step.

Component · CRM · Pro kit · [Live page](https://ui.twentyfirst.media/pro/components/DealCard/)

One deal: title, company, value, probability, close date, owner, days in its stage and the next
step.

- A deal that sat `staleAfter` days (14 by default) in its stage is marked stale, in words too.
- `stages` with `onMove(id, stage)` adds a "Move to" menu, the keyboard path for the Pipeline.

## Example

```tsx
import { DealCard } from "@twentyfirstmedia/pro";

const stages = [
  { id: "meeting", label: "Meeting" },
  { id: "proposal", label: "Proposal" },
  { id: "won", label: "Won" },
];

export default function Preview() {
  return (
    <div className="tf-row" style={{ gap: 16, alignItems: "flex-start" }}>
      <div style={{ width: 280 }}>
        <DealCard
          deal={{
            id: "d6",
            title: "Nordhafen renewal",
            company: "Nordhafen Outdoor",
            value: 36000,
            probability: 80,
            closeDate: new Date(2026, 10, 30),
            daysInStage: 4,
            owner: "Mara Ellis",
            next: "Contract to legal",
          }}
          stages={stages}
          onMove={() => {}}
          onOpen={() => {}}
        />
      </div>
      <div style={{ width: 280 }}>
        <DealCard
          deal={{
            id: "d2",
            title: "Brand refresh",
            company: "Lindqvist Studio",
            value: 9500,
            probability: 10,
            daysInStage: 21,
            owner: "Jonas Pick",
            next: "Follow up",
          }}
          stages={stages}
          onMove={() => {}}
        />
      </div>
    </div>
  );
}
```

## Props

### DealCard

| Prop | Type | Notes |
| --- | --- | --- |
| `deal` | `Deal` | Required |
| `staleAfter?` | `number` | Days in stage after which the deal is marked as stale (default 14). |
| `onOpen?` | `(id: string) => void` |  |
| `stages?` | `{ id: string; label: string }[]` | Stages offered in the card's "Move to" menu. |
| `onMove?` | `(id: string, stageId: string) => void` |  |
| `surface?` | `Surface` |  |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |
