Every capability flag on the features prop, plus per-feature configuration shapes.
The features prop is a flat object of opt-in flags. Disabled flags do not register their corresponding EmbedPDF plugin, which means the plugin package is tree-shaken from your bundle. The minimum required plugins (DocumentManager, Viewport, Scroll, Render, Tiling) are always registered.
When true, new redactions are stored as pending PDF REDACT annotations instead of applied immediately
defaultTools
AnnotationToolConfig[]
5 highlight presets (yellow / green / blue / pink / purple at α 0.4)
Override the floating highlight tooltip’s colour palette. Each tool has { id, label, color, opacity }. The 5 default colours match HIGHLIGHT_COLORS exported from @meldui/vue
stamps (Phase 2)
Option
Type
Notes
libraries
StampLibraryConfig[]
Preload stamp libraries from URL or ArrayBuffer
defaultLibrary
{ id, name, categories? } | false
Set the toolbar’s default library; false to hide the library picker
signature (Phase 2)
Option
Type
Notes
mode
'signature-only' | 'signature-and-initials'
Whether the user is prompted for initials in addition to a full signature
defaultSize
{ width: number; height: number }
Initial bounding box for placed signatures
redaction (Phase 2)
Option
Type
Notes
useAnnotationMode
boolean
If true, new redactions are pending (visible in panel) and applied via applyAllRedactions(); otherwise they burn in immediately
Highlight colour palette
@meldui/vue exports the 5 canonical colours as HIGHLIGHT_COLORS so you can render swatches matching the floating tooltip: