primitives
@pdfcn-vue/cardCard
Bordered or muted content card for grouping document blocks.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/cardUsage
Example
<Card variant="bordered" padding="md">
<Text>Card body</Text>
</Card>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'bordered' | 'muted' | 'default' | Visual treatment. |
| padding | 'sm' | 'md' | 'lg' | 'md' | Inner padding scale. |
| style | Style | — | Merged Forme style override. |
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.