Skip to content

The live demos ​

The same playground is built once per framework adapter and published next to these docs. Each one is the real <visio-viewer> running entirely in your browser: drawings are parsed and rendered locally, nothing is uploaded, and there is no server behind them. This is a public beta; a demo opening a file is not evidence of Visio fidelity.

DemoAdapterRoute
Vanilla JSvisio-vanilla-viewer/demo/
Reactvisio-react-viewer/demo-react/
Vuevisio-vue-viewer/demo-vue/
Angularvisio-angular-viewer/demo-angular/
Sveltevisio-svelte-viewer/demo-svelte/
Solidvisio-solid-viewer/demo-solid/

The vanilla playground is also served at /demo-vanilla/, the name the other viewers' sites use. The home page embeds the demos with a framework switcher: open the live demo section.

What you can do in a demo ​

  • Open the original sample drawing, or a local .vsdx file you choose.
  • Add ?sample=1 to a demo URL to open the sample straight away, and ?embed=1 for the compact embedded layout the home page uses.
  • Use the demo's theme button or this site's theme toggle: all the demos follow the vitepress-theme-appearance preference live (see theming).

Collaboration demo ​

Add ?share=<session> to any demo URL to join a File > Share session on load. Two demos built from different frameworks that use the same session name share one drawing, for example /demo-vue/?sample=1&share=my-room and /demo-angular/?share=my-room in two tabs of one browser. The home page shows two panes with a framework picker for each. See collaboration for what is and is not supported.

Embedded here ​

Run them locally ​

bash
npm ci --ignore-scripts
npm ci --prefix packages/bindings --ignore-scripts
npm run dev

npm run docs:build builds the documentation and all demos exactly as the Pages workflow does.

Released under the Apache-2.0 License.