<SuperDocEditor> component. Only document is required.
Quick start
Document props
Document to load. Accepts a
File, Blob, URL string, or config object.User props
UI props
Enable contained mode for fixed-height container embedding. When
true, SuperDoc fits within its parent’s height and scrolls internally.Your wrapper must have a definite height (e.g., height: 400px, flex: 1, or a CSS class with a fixed height). Pass style={{ height: '100%' }} to propagate the height.Event callbacks
Advanced props
The component extends
SuperDocConfig: any option from the core configuration can be passed as a prop.Props that trigger rebuild
These props trigger a full instance rebuild when changed:
Other props like
documentMode and callbacks are handled efficiently without rebuild.
