---
title: "Customer profile"
description: "One customer at a glance: contact line, lifetime figures, last orders, editable tags and a note that saves itself."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/customer-profile
---

# Customer profile

One customer at a glance: contact line, lifetime figures, last orders, editable tags and a note that saves itself.

The header carries the customer's initials, name, email, location and the date they first ordered, with Email and a menu to edit, merge or delete. Lifetime spend, order count and average order sit in a strip divided by hairlines, above the last three orders with their status badges. Tags are chips in a Combobox: pick a suggestion or type a new one and press Enter or a comma. The note saves a moment after typing stops, on blur or with Cmd+Enter, and says Saving, Saved or Couldn't save with a retry. Delete asks first in an AlertDialog and leaves an Undo in the card. At the card's 512px everything stacks; given a wider max-width it splits into two columns from about 670px, figures and orders beside tags and notes.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/customer-profile
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, alert-dialog, avatar, badge, button, card, combobox, dropdown-menu, empty, field, spinner, text-link, textarea

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More dashboards blocks

All 8, with install commands: https://ui.edbn.me/docs/blocks/dashboards (Markdown: https://ui.edbn.me/docs/blocks/dashboards.md)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
