Docs/Divider
layout@pdfcn-vue/divider

Divider

Horizontal or vertical rule with theme border color.

Installation

Terminal

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

Usage

Example

<Divider />
<Divider orientation="vertical" />

Props

PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Rule orientation.
thicknessnumberthemeStroke thickness in points.
colorstring—Theme color key or hex.
styleStyle—Merged Forme style override.

Live preview

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

Divider 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/Divider.vue
  • forme/components/DividerLine.vue

Edit the theme tokens

Try the theme builder