For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any docs URL. An agent skill is available at /.well-known/agent-skills/site-skill.md.
0Sponsor

Key Value

Definition list of keys and values.

Takumi Forme
Rendering PDF…

Installation

$ pnpm dlx shadcn@latest add @angular-pdfcn/forme/key-value

Usage

import { Component } from "@angular/core";

import { PdfKeyValue } from "@/components/pdf/key-value/key-value";
import {
  FormeDocument,
  FormePage,
} from "@/lib/pdf-primitives";

@Component({
  imports: [FormeDocument, FormePage, PdfKeyValue],
  template: `
    <forme-document>
      <forme-page size="A4" [margin]="40">
        <pdf-key-value direction="horizontal" divided [items]="items" />
      </forme-page>
    </forme-document>
  `,
})
export class KeyValueDemo {
  protected readonly items = [
    { key: "Invoice #", value: "INV-2026-0042" },
    { key: "Issue Date", value: "15 February 2026" },
    { key: "Due Date", value: "17 March 2026" },
    { key: "Status", value: "Unpaid", valueColor: "destructive" },
    { key: "Total", value: "$4,200.00", valueColor: "primary" },
  ];
}

API Reference

PdfKeyValue

Input Type Default
items KeyValueEntry[] -
direction 'horizontal' | 'vertical' 'horizontal'
divided boolean false
size 'sm' | 'md' | 'lg' 'md'
labelFlex number 1
labelColor string -
valueColor string -
boldValue boolean false
noWrap boolean false
dividerColor string -
dividerThickness number -
dividerMargin number -