Name | Description | Type | Default |
workflow | Workflow json to load. | string | '{}' |
frame | Whether to add frame around canvas with code and copy button | string | 'false' |
src | URL for n8n instance to load workflow. | string | 'https://n8n-preview-service.internal.n8n.cloud/workflows/demo' |
collapseformobile | Whether to collapse on mobile, so that scrolling on mobile is easier. | string | 'true' |
clicktointeract | Add button before users can interact with canvas.
Makes scrolling through page easier without getting bugged down. | string | 'false' |
hidecanvaserrors | Hide node errors on the canvas | string | 'false' |
disableinteractivity | Disable interactivity entirely. This will prevent the user from
interacting with the workflow. | string | 'false' |
theme | Whether to force a theme on n8n.
Accepts 'light' and 'dark' | | undefined |
Name | Attribute | Description | Type | Default |
workflow | workflow | Workflow json to load. | string | '{}' |
frame | frame | Whether to add frame around canvas with code and copy button | string | 'false' |
src | src | URL for n8n instance to load workflow. | string | 'https://n8n-preview-service.internal.n8n.cloud/workflows/demo' |
collapseformobile | collapseformobile | Whether to collapse on mobile, so that scrolling on mobile is easier. | string | 'true' |
clicktointeract | clicktointeract | Add button before users can interact with canvas.
Makes scrolling through page easier without getting bugged down. | string | 'false' |
hidecanvaserrors | hidecanvaserrors | Hide node errors on the canvas | string | 'false' |
disableinteractivity | disableinteractivity | Disable interactivity entirely. This will prevent the user from
interacting with the workflow. | string | 'false' |
theme | theme | Whether to force a theme on n8n.
Accepts 'light' and 'dark' | | undefined |
showCode | | | boolean | false |
showPreview | | | boolean | true |
fullscreen | | | boolean | false |
insideIframe | | | boolean | false |
copyText | | | string | 'Copy' |
isMobileView | | | boolean | false |
error | | | boolean | false |
interactive | | | boolean | true |
scrollX | | | number | 0 |
scrollY | | | number | 0 |
receiveMessage | | | | |
onDocumentScroll | | | | |