primitives
@pdfcn-vue/listList
Ordered and unordered lists with nested items.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/listUsage
Example
<PdfList :items="[{ text: 'Ship invoice' }, { text: 'Archive copy' }]" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items | ListItem[] | — | List items, including nested `children`. |
| variant | 'unordered' | 'ordered' | 'unordered' | Bullet or numbered list. |
| marker | string | — | Custom marker for unordered lists. |
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.