Docs/List
primitives@pdfcn-vue/list

List

Ordered and unordered lists with nested items.

Installation

Terminal

npx shadcn-vue@latest add @pdfcn-vue/list

Usage

Example

<PdfList :items="[{ text: 'Ship invoice' }, { text: 'Archive copy' }]" />

Props

PropTypeDefaultDescription
itemsListItem[]—List items, including nested `children`.
variant'unordered' | 'ordered''unordered'Bullet or numbered list.
markerstring—Custom marker for unordered lists.

Live preview

The gallery uses a shared document. Change its theme in the theme builder to compare tokens.

List in a document
Rendered with Forme in your browser.
Browser render

Rendering the PDF…

Vue SFC → Uint8Array

Source files

Registry paths
Files installed under components/pdf.
  • forme/components/PdfList.vue
  • forme/components/list.types.ts

Edit the theme tokens

Try the theme builder