Search Plus UI Blocks

Find a block, a category or a site

Record page with activity timelinerecord-detail-timeline

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

Record-detail · 2 variants

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

/preview/record-detail-timeline
Open ↗

Default content

{
  "back": {
    "label": "Contacts",
    "href": "/contacts"
  },
  "record": {
    "kind": "Contact",
    "name": "Sofia Brandt",
    "subtitle": "VP Operations at Ostrelo",
    "avatar": {
      "src": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&crop=faces&w=160&h=160&q=80",
      "alt": "Sofia Brandt"
    },
    "tags": [
      {
        "label": "Customer",
        "tone": "success"
      },
      {
        "label": "Champion",
        "tone": "neutral"
      },
      {
        "label": "Exec sponsor",
        "tone": "neutral"
      }
    ],
    "meta": [
      {
        "icon": "mail",
        "label": "[email protected]",
        "href": "mailto:[email protected]"
      },
      {
        "icon": "phone",
        "label": "+31 10 555 0142",
        "href": "tel:+31105550142"
      },
      {
        "icon": "pin",
        "label": "Rotterdam, NL"
      }
    ]
  },
  "actions": [
    {
      "label": "Email",
      "icon": "mail",
      "href": "/inbox"
    },
    {
      "label": "Call",
      "icon": "phone"
    },
    {
      "label": "Add task",
      "icon": "checklist",
      "href": "/tasks?new=task"
    }
  ],
  "highlights": [
    {
      "label": "Open deals",
      "value": "€86,400",
      "hint": "1 open"
    },
    {
      "label": "Last contacted",
      "value": "Today"
    },
    {
      "label": "Owner",
      "value": "Priya Raman"
    },
    {
      "label": "Lifecycle",
      "value": "Customer"
    }
  ],
  "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": "email",
            "title": "Re: Order form for the 120-seat expansion",
            "body": "Legal is fine with the DPA. Two redlines on the order form: payment terms to 45 days and a cap on the onboarding hours. Can you turn it around by Friday?",
            "actor": {
              "name": "Sofia Brandt",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Sofia Brandt"
              },
              "href": "/contacts/sofia-brandt"
            },
            "time": "09:14",
            "meta": "Replied in 38 min",
            "record": {
              "label": "Ostrelo — 120-seat expansion",
              "href": "/deals/ostrelo-expansion"
            }
          }
        ]
      },
      {
        "label": "Yesterday",
        "items": [
          {
            "kind": "deal",
            "title": "Moved to Negotiation",
            "body": "Ostrelo — 120-seat expansion moved from Proposal to Negotiation.",
            "actor": {
              "name": "Priya Raman",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Priya Raman"
              }
            },
            "time": "10:02",
            "record": {
              "label": "Ostrelo — 120-seat expansion",
              "href": "/deals/ostrelo-expansion"
            }
          }
        ]
      },
      {
        "label": "Mon 5 Oct",
        "items": [
          {
            "kind": "meeting",
            "title": "Commercials with Ruben de Vries",
            "body": "Ruben accepted the per-seat price; pushing on payment terms. He signs anything under €100k.",
            "actor": {
              "name": "Priya Raman",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Priya Raman"
              }
            },
            "time": "14:00",
            "meta": "30 min · 2 attendees",
            "record": {
              "label": "Ostrelo — 120-seat expansion",
              "href": "/deals/ostrelo-expansion"
            }
          }
        ]
      },
      {
        "label": "Fri 2 Oct",
        "items": [
          {
            "kind": "deal",
            "title": "Closed won",
            "body": "Ostrelo — Data migration closed won at €10,800.",
            "actor": {
              "name": "Priya Raman",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Priya Raman"
              }
            },
            "time": "12:00",
            "record": {
              "label": "Ostrelo — Data migration",
              "href": "/deals/ostrelo-migration"
            }
          }
        ]
      },
      {
        "label": "Mar",
        "items": [
          {
            "kind": "note",
            "title": "Contact created",
            "body": "Added to Ostrelo by Priya Raman.",
            "actor": {
              "name": "Priya Raman",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
                "alt": "Priya Raman"
              }
            },
            "time": "2 Mar"
          }
        ]
      }
    ],
    "empty": "Nothing of this kind yet."
  },
  "properties": {
    "title": "Properties",
    "edit": "Edit",
    "groups": [
      {
        "title": "About",
        "items": [
          {
            "label": "Company",
            "company": {
              "name": "Ostrelo",
              "brand": "ostrelo",
              "href": "/companies/ostrelo"
            }
          },
          {
            "label": "Job title",
            "value": "VP Operations"
          },
          {
            "label": "Email",
            "value": "[email protected]",
            "href": "mailto:[email protected]"
          },
          {
            "label": "Phone",
            "value": "+31 10 555 0142"
          },
          {
            "label": "LinkedIn",
            "value": "in/sofiabrandt"
          }
        ]
      },
      {
        "title": "Sales",
        "items": [
          {
            "label": "Owner",
            "person": {
              "name": "Priya Raman",
              "avatar": {
                "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
                "alt": "Priya Raman"
              }
            }
          },
          {
            "label": "Lifecycle",
            "value": "Customer",
            "tone": "success"
          },
          {
            "label": "Source",
            "value": "Inbound"
          },
          {
            "label": "Time zone",
            "value": "CET (UTC+2)"
          }
        ]
      }
    ]
  },
  "related": [
    {
      "title": "Deals",
      "link": {
        "label": "Board",
        "href": "/deals"
      },
      "items": [
        {
          "title": "120-seat expansion",
          "href": "/deals/ostrelo-expansion",
          "subtitle": "Negotiation · closes 24 Oct",
          "value": "€86,400",
          "brand": "ostrelo"
        },
        {
          "title": "Data migration",
          "href": "/deals/ostrelo-migration",
          "subtitle": "Closed won · closes 2 Oct",
          "value": "€10,800",
          "brand": "ostrelo"
        }
      ]
    },
    {
      "title": "Company",
      "items": [
        {
          "title": "Ostrelo",
          "href": "/companies/ostrelo",
          "subtitle": "Logistics software · 220 people",
          "brand": "ostrelo",
          "badge": {
            "label": "Customer",
            "tone": "success"
          }
        }
      ]
    },
    {
      "title": "Colleagues",
      "items": [
        {
          "title": "Ruben de Vries",
          "href": "/contacts/ruben-de-vries",
          "subtitle": "CFO",
          "person": {
            "name": "Ruben de Vries",
            "avatar": {
              "src": "https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
              "alt": "Ruben de Vries"
            }
          }
        }
      ]
    }
  ],
  "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 redlined order form to Sofia",
        "due": "12:00",
        "overdue": false,
        "done": false,
        "owner": {
          "name": "Priya Raman",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Priya Raman"
          }
        }
      }
    ]
  }
}