# Record Header

> The top of any CRM record (person, company, deal, matter): picture, name and subtitle, status and tags, the owner, quick actions and a row of key facts.

Component · CRM · Halo kit · [Live page](https://ui.twentyfirst.media/halo/components/RecordHeader/)

The top of any CRM record (person, company, deal, matter): picture, name and subtitle, status and
tags, the owner, quick actions and a row of key facts.

- `kind` picks the default picture: an Avatar for a person, a ServiceMark for a company, a tinted
  icon for a deal or matter. `avatar` or `icon` override it.
- `actions` with `primary: true` becomes the filled button; `menu` takes anything for the far end
  (an overflow Menu, a LeadScore).
- Below 520px the actions and facts wrap under the title.

## Example

```tsx
import { RecordHeader } from "@twentyfirstmedia/halo";

export default function Preview() {
  return (
    <div className="tf-col" style={{ gap: 16, maxWidth: 860 }}>
      <RecordHeader
        title="Lena Hartmann"
        subtitle="Head of Operations at Nordhafen Outdoor"
        status={{ label: "Customer", tone: "success" }}
        tags={["Decision maker", "Hamburg"]}
        owner="Mara Ellis"
        actions={[
          { label: "Email", icon: "mail", primary: true },
          { label: "Call", icon: "phone" },
          { label: "Meeting", icon: "calendar" },
          { label: "Note", icon: "edit" },
        ]}
        facts={[
          { label: "Open deals", value: "€78,000" },
          { label: "Last contact", value: "Today" },
          { label: "Phone", value: "+49 40 2287 1190" },
          { label: "Customer since", value: "Mar 2023" },
        ]}
      />
      <RecordHeader
        kind="matter"
        title="Hartmann ./. Elbe Logistik GmbH"
        subtitle="Matter 2026/0412 · Labour law · Hamburg Labour Court"
        status={{ label: "Open", tone: "info" }}
        owner="Dr. Anna Weber"
        facts={[
          { label: "Next deadline", value: "Nov 24 · Statement" },
          { label: "Value in dispute", value: "€38,500" },
          { label: "Hours recorded", value: "21.5 h" },
        ]}
      />
    </div>
  );
}
```

## Props

### RecordHeader

| Prop | Type | Notes |
| --- | --- | --- |
| `kind?` | `"person" \| "company" \| "deal" \| "matter"` | Sets the default picture: a person's initials, a company's monogram, a deal or matter icon. |
| `title` | `string` | Required |
| `subtitle?` | `ReactNode` | "Head of Operations at Nordhafen", "Matter 2026/0412". |
| `avatar?` | `ReactNode` | Your own picture (a photo, a logo); default from `kind`. |
| `icon?` | `IconName` |  |
| `status?` | `{ label: string; tone?: Tone }` | The stage or status as a badge. |
| `tags?` | `string[]` |  |
| `owner?` | `string` | Who looks after the record. |
| `facts?` | `{ label: string; value: ReactNode }[]` | Key facts in a row: value, phone, close date … |
| `actions?` | `{ label: string; icon?: IconName; onClick?: () => void; primary?: boolean }[]` | Quick actions: Call, Email, Meeting, Note … The first `primary` one is the main button. |
| `menu?` | `ReactNode` | More actions on the right (a menu button). |
| `surface?` | `Surface` |  |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |
