layout
@pdfcn-vue/sectionSection
Titled section container with theme section spacing.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/sectionUsage
Example
<Section title="Line items">
<Table>…</Table>
</Section>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Optional section title. |
| description | string | — | Optional supporting line under the title. |
| spacing | 'compact' | 'default' | 'relaxed' | 'default' | Vertical rhythm around the section. |
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.