layout
@pdfcn-vue/dividerDivider
Horizontal or vertical rule with theme border color.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/dividerUsage
Example
<Divider />
<Divider orientation="vertical" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | 'horizontal' | 'vertical' | 'horizontal' | Rule orientation. |
| thickness | number | theme | Stroke thickness in points. |
| color | string | — | Theme color key or hex. |
| 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.