# Match List

> Who fits: buyers or tenants for a property, or properties for a buyer.

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

Who fits: buyers or tenants for a property, or properties for a buyer. Best first, with the match
in percent, a bar and which criteria are met.

- Missed criteria stay visible but muted, and are read out as "not met".
- `onContact(id)` adds the action per match; `contactLabel` names it ("Send exposé").
- In a narrow box the score moves under the name.

## Example

```tsx
import { MatchList, Panel } from "@twentyfirstmedia/halo";
import { BUYERS } from "./_industry";

export default function Preview() {
  return (
    <Panel title="Buyers for this flat" subtitle="3 rooms · 84 m² · Eppendorf · €629,000">
      <MatchList
        matches={BUYERS}
        contactLabel="Send exposé"
        onContact={() => {}}
        onOpen={() => {}}
      />
    </Panel>
  );
}
```

## Props

### MatchList

| Prop | Type | Notes |
| --- | --- | --- |
| `matches` | `Match[]` | Required |
| `onOpen?` | `(id: string) => void` | Makes the name a button. |
| `onContact?` | `(id: string) => void` | Shows the contact action per match ("Send exposé"). |
| `contactLabel?` | `string` | Text of the contact action (default "Contact"). |
| `label?` | `string` | Accessible name (default "Matches"). |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |

### Panel

| Prop | Type | Notes |
| --- | --- | --- |
| `side?` | `boolean` |  |
| `title?` | `string` |  |
| `subtitle?` | `string` |  |
| `action?` | `ReactNode` |  |
| `children?` | `ReactNode` |  |
| `surface?` | `Surface` | `"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`. |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |
