Search Plus UI Blocks

Find a block, a category or a site

Deal page with stage path and line itemsrecord-detail-deal

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/record-detail-deal.json

Record-detail · 2 variants

← → to step through · + on a thumbnail to compare side by side (up to 3)

/preview/record-detail-deal
Open ↗

Default content

{
  "back": {
    "label": "Pipeline",
    "href": "/deals"
  },
  "record": {
    "kind": "Deal",
    "name": "Group rollout, 9 hotels",
    "subtitle": "Brindlebay Hotels · €116,940 · closes 28 Nov",
    "brand": "brindlebay",
    "tags": [
      {
        "label": "Proposal",
        "tone": "progress"
      },
      {
        "label": "21 days in stage",
        "tone": "warning"
      },
      {
        "label": "Referral",
        "tone": "neutral"
      }
    ],
    "meta": [
      {
        "icon": "building",
        "label": "Brindlebay Hotels",
        "href": "/companies/brindlebay"
      },
      {
        "icon": "users",
        "label": "Aoife Gallagher",
        "href": "/contacts/aoife-gallagher"
      },
      {
        "icon": "calendar",
        "label": "Created 11 Aug"
      }
    ]
  },
  "actions": [
    {
      "label": "Email",
      "icon": "mail",
      "href": "/inbox"
    },
    {
      "label": "Log call",
      "icon": "phone"
    },
    {
      "label": "Add task",
      "icon": "checklist",
      "href": "/tasks?new=task"
    }
  ],
  "highlights": [
    {
      "label": "Value",
      "value": "€116,940",
      "hint": "4 line items"
    },
    {
      "label": "Weighted",
      "value": "€58,470",
      "hint": "50% probability"
    },
    {
      "label": "Close date",
      "value": "28 Nov",
      "hint": "51 days left"
    },
    {
      "label": "Age",
      "value": "58 days",
      "hint": "21 in proposal"
    }
  ],
  "stages": {
    "label": "Deal stage",
    "items": [
      {
        "label": "Qualified",
        "state": "done",
        "detail": "10%"
      },
      {
        "label": "Demo",
        "state": "done",
        "detail": "25%"
      },
      {
        "label": "Proposal",
        "state": "current",
        "detail": "21 days"
      },
      {
        "label": "Negotiation",
        "state": "upcoming",
        "detail": "75%"
      },
      {
        "label": "Closed won",
        "state": "upcoming",
        "detail": "100%"
      }
    ],
    "won": "Mark won",
    "lost": "Mark lost"
  },
  "lineItems": {
    "title": "Products",
    "columns": {
      "product": "Product",
      "qty": "Qty",
      "price": "Unit price",
      "discount": "Discount",
      "total": "Total"
    },
    "rows": [
      {
        "product": "Scale seat",
        "detail": "Annual, per user, SSO and audit log",
        "qty": "90",
        "price": "€1,080",
        "total": "€97,200"
      },
      {
        "product": "Data migration",
        "detail": "Import, dedupe and field mapping",
        "qty": "1",
        "price": "€6,000",
        "total": "€6,000"
      },
      {
        "product": "Guided onboarding",
        "detail": "Six sessions over four weeks",
        "qty": "2",
        "price": "€4,800",
        "total": "€9,600"
      },
      {
        "product": "Premium support",
        "detail": "Named CSM, 4-hour response",
        "qty": "1",
        "price": "€6,000",
        "discount": "31%",
        "total": "€4,140"
      }
    ],
    "totals": [
      {
        "label": "List price",
        "value": "€118,800",
        "strong": false
      },
      {
        "label": "Discounts",
        "value": "−€1,860",
        "strong": false
      },
      {
        "label": "Deal value",
        "value": "€116,940",
        "strong": true
      }
    ]
  },
  "stakeholders": {
    "title": "Stakeholders",
    "items": [
      {
        "person": {
          "name": "Aoife Gallagher",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Aoife Gallagher"
          },
          "href": "/contacts/aoife-gallagher"
        },
        "title": "Group Commercial Director",
        "role": "Champion",
        "tone": "success"
      },
      {
        "person": {
          "name": "Declan Byrne",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Declan Byrne"
          },
          "href": "/contacts/declan-byrne"
        },
        "title": "IT Director",
        "role": "Technical evaluator",
        "tone": "neutral"
      }
    ]
  },
  "notes": {
    "title": "Notes",
    "pinnedLabel": "Pinned",
    "items": [
      {
        "author": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        },
        "time": "11 Aug",
        "body": "Up against: Legacy suite renewal. Next step agreed: Board approval on 20 Oct.",
        "pinned": true
      }
    ]
  },
  "tabs": {
    "label": "Record sections",
    "timeline": "Timeline",
    "details": "Details",
    "related": "Related"
  },
  "timeline": {
    "title": "Activity",
    "filters": [
      {
        "label": "All",
        "kinds": []
      },
      {
        "label": "Emails",
        "kinds": [
          "email"
        ]
      },
      {
        "label": "Calls",
        "kinds": [
          "call"
        ]
      },
      {
        "label": "Meetings",
        "kinds": [
          "meeting"
        ]
      },
      {
        "label": "Notes",
        "kinds": [
          "note",
          "deal"
        ]
      }
    ],
    "composer": {
      "placeholder": "Log a note, @mention a teammate…",
      "submit": "Save note",
      "modes": [
        {
          "label": "Note",
          "icon": "file-edit"
        },
        {
          "label": "Email",
          "icon": "mail"
        },
        {
          "label": "Call",
          "icon": "phone"
        }
      ]
    },
    "groups": [
      {
        "label": "Today",
        "items": [
          {
            "kind": "call",
            "title": "Call with Aoife Gallagher",
            "body": "Board meets 20 Oct. She wants a one-page business case per hotel, not group-level. Declan still needs the SSO walkthrough.",
            "actor": {
              "name": "Amara Osei",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Amara Osei"
              }
            },
            "time": "08:30",
            "meta": "22 min · Outcome: positive"
          }
        ]
      },
      {
        "label": "Sat 3 Oct",
        "items": [
          {
            "kind": "meeting",
            "title": "SSO and data walkthrough with Declan",
            "body": "Declan is happy with SAML and the EU data region. Needs the migration plan for 9 property systems.",
            "actor": {
              "name": "Amara Osei",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Amara Osei"
              }
            },
            "time": "11:00",
            "meta": "40 min · 2 attendees"
          }
        ]
      },
      {
        "label": "Earlier",
        "items": [
          {
            "kind": "note",
            "title": "Deal created",
            "body": "Amara Osei opened the deal from referral.",
            "actor": {
              "name": "Amara Osei",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
                "alt": "Amara Osei"
              }
            },
            "time": "11 Aug"
          }
        ]
      }
    ],
    "empty": "Nothing of this kind yet."
  },
  "properties": {
    "title": "Details",
    "edit": "Edit",
    "groups": [
      {
        "items": [
          {
            "label": "Owner",
            "person": {
              "name": "Amara Osei",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Amara Osei"
              }
            }
          },
          {
            "label": "Company",
            "company": {
              "name": "Brindlebay Hotels",
              "brand": "brindlebay",
              "href": "/companies/brindlebay"
            }
          },
          {
            "label": "Main contact",
            "person": {
              "name": "Aoife Gallagher",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Aoife Gallagher"
              },
              "href": "/contacts/aoife-gallagher"
            }
          },
          {
            "label": "Stage",
            "value": "Proposal",
            "tone": "progress"
          },
          {
            "label": "Probability",
            "value": "50%"
          },
          {
            "label": "Source",
            "value": "Referral"
          },
          {
            "label": "Pipeline",
            "value": "New business"
          }
        ]
      }
    ]
  },
  "related": [
    {
      "title": "Company",
      "items": [
        {
          "title": "Brindlebay Hotels",
          "href": "/companies/brindlebay",
          "subtitle": "Hospitality · Dublin, IE",
          "brand": "brindlebay",
          "badge": {
            "label": "Opportunity",
            "tone": "warning"
          }
        }
      ]
    }
  ],
  "next": {
    "title": "Next steps",
    "add": {
      "label": "Add task",
      "href": "/tasks?new=task"
    },
    "markDone": "Mark done",
    "empty": "No open tasks. Add the next step.",
    "items": [
      {
        "title": "Send business case per hotel to Aoife",
        "due": "6 Oct",
        "overdue": true,
        "done": false,
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        }
      },
      {
        "title": "Log Brindlebay call notes",
        "due": "Today",
        "overdue": false,
        "done": true,
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        }
      },
      {
        "title": "SSO walkthrough recording for Declan",
        "due": "Tomorrow",
        "overdue": false,
        "done": false,
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        }
      },
      {
        "title": "Brindlebay board decision",
        "due": "20 Oct",
        "overdue": false,
        "done": false,
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        }
      }
    ]
  }
}