---
title: "Key value"
description: "Labels and values for document numbers, dates, and references."
plan: Pro
docs: https://ui.edbn.me/docs/pdfs/key-value
---

# Key value

Labels and values for document numbers, dates, and references.

meta sets label and value pairs as rows, with the small muted label sitting on the value’s baseline; it holds the number and dates beside the parties in invoices, statements, delivery notes and payslips, and the bank fields under Payment. meta-row puts labels over values in a single row, as the reports, proposals, statements of work and agreement do under their titles. key-value is one stacked label and value, the unit meta-row repeats.

## 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/pdf-key-value
```

## Dependencies
- edbn: pdf-shared

## Usage

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Files
- lib/pdf/components/key-value.typ (3 lines)
- lib/pdf/templates/key-value-example.typ (9 lines)
- lib/pdf/examples/components/key-value.ts (18 lines)

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