Skip to main content

Overview

@speckle/viewer provides the Speckle Viewer as an npm package, allowing you to embed interactive 3D models in your web applications. Package: @speckle/viewer on npm

Installation

npm install @speckle/viewer

Quick Start

import { Viewer } from '@speckle/viewer';

// Initialize viewer
const viewer = new Viewer({
  container: document.getElementById('viewer'),
  projectId: 'your-project-id'
});

Features

  • Embed 3D models in web applications
  • Interactive navigation and exploration
  • Customizable rendering and materials
  • Support for large models

Documentation

For complete documentation, see the Viewer API documentation. For package-specific details, examples, and API reference, visit the package on npm: View on npm →
This package documentation is a stub. For comprehensive Viewer documentation, see the Viewer API section. For package-specific details, refer to the npm package page.