Skip to main content
This example loads object graphs, the format of versions published before 2026.9. To render a bundle version, swap the loader as shown in Load a bundle in your Viewer app.
The first thing you’ll need is a container for the viewer and a javascript/typescript script which will run the viewer code. We’ll create a simple HTML and a simple typescript file
Basic Setup HTML
Now save this HTML snippet as index.html Next we’ll create the typescript file:
Basic Setup JavaScript
Now save this typescript snippet asindex.ts You can run the live example here or below:

Basic Setup Example

Last modified on October 19, 2026