---
title: "Stockist record"
description: "One wholesale stockist: contact details, tasks with overdue flags, notes and calls, a dated history, the account and a statement PDF."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/stockist-record
---

# Stockist record

One wholesale stockist: contact details, tasks with overdue flags, notes and calls, a dated history, the account and a statement PDF.

Fern & Fig, a café and shop in Loam Wholesale's Quote stage. The header names the stockist and its stage and shows "3 of 7 in Quote" with Previous and Next, or j and k anywhere on the block outside a field; Log call, Email and More (revise the quote, copy the email or phone) sit beside it. From 1024px three columns: the buyer, email, phone, delivery address, payment terms and tags; then what's upcoming and overdue (overdue tasks in the deeper red with an icon and the word), a composer for a note or a call with its outcome, and the history newest first, grouped by day; and the account: lifetime spend, open quote, last order and outstanding balance. Below 1024px the details move above; below 768px Activity, Details and Orders become tabs. An added note or a logged call lands at the top of the history under Today, and ticking a task moves it there. Download statement renders the Pro PDFs' account-statement in the browser from the wasmUrl you self-host (the compiler's .wasm from @myriaddreamin/typst-ts-web-compiler): "Preparing PDF…" at the same width, a second press waits, and a failure says why with Retry.

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/stockist-record
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, avatar, badge, button, checkbox, dropdown-menu, kbd, label, select, spinner, tabs, text-link, textarea, timeline, toggle-group, pdf-browser

## 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 13, 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
