Skip to Content
ExamplesExtensionsExtensions Overview

Extensions Overview

Extensions allow you to enhance the functionality of the a3d-viewer component by adding additional features or behaviors.

Available Extensions

Here are some of the extensions available for the a3d-viewer:

  • a3d-grid: Adds a customizable grid to your viewer.
  • [Other extensions coming soon…]

How to Use Extensions

  1. Install the desired extension via npm.
  2. Import the extension into your project.
  3. Add the extension as a child of the a3d-viewer component.

For example:

// import modules in you Javascript file: // import '@a3d-viewer/viewer' // import '@a3d-extensions/a3d-grid' <a3d-viewer source="https://MyModel.glb"> <a3d-grid line-color="#ff0000"></a3d-grid> </a3d-viewer>
Last updated on