data
@pdfcn-vue/key-valueKeyValue
Aligned label/value pairs for metadata blocks.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/key-valueUsage
Example
<KeyValue :items="[{ label: 'Invoice', value: 'INV-2026-003' }]" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items | KeyValueItem[] | — | Label/value pairs. |
| columns | number | 1 | Column count for the pair grid. |
| labelWidth | number | — | Fixed label width in points. |
Live preview
The gallery uses a shared document. Change its theme in the theme builder to compare tokens.
Source files
Need the full template?
See blocks for invoices and reports composed from these primitives.