Socket
Book a DemoInstallSign in
Socket

@shopware-ag/dive

Package Overview
Dependencies
Maintainers
10
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-ag/dive

Shopware Spatial Framework

latest
Source
npmnpm
Version
2.1.2
Version published
Weekly downloads
9.3K
-13.95%
Maintainers
10
Weekly downloads
 
Created
Source

DIVE logo

dive: npm dive: license dive: types dive: types

Table of Contents

About

DIVE is a spatial framework made by and optimized for Shopware. It can be used directly integrated in a Shopware frontend such as Storefront or in any other frontend you want to use it in, it is not tied to Shopware.

DIVE supplies your frontend application with all needed tooling to set up a basic 3D application with event-based controls called "Actions".

Installation

The @shopware-ag/dive package can be installed via

npm install @shopware-ag/dive

or

yarn add @shopware-ag/dive

For local development setup, see Local Development Guide.

Getting Started

Basic Setup

To get started with DIVE, import and instantiate it:

import { DIVE } from '@shopware-ag/dive';

// Create a DIVE instance
const dive = new DIVE();
const myCanvasWrapper = document.createElement('div');
myCanvasWrapper.appendChild(dive.canvas);

Quick View

For a simpler setup, you can use QuickView to quickly display your assets within a basic default scene setup:

import { DIVE } from '@shopware-ag/dive';

// Use static QuickView method to instantiate DIVE
const dive = await DIVE.QuickView('your/asset/uri.glb');
const myCanvasWrapper = document.createElement('div');
myCanvasWrapper.appendChild(dive.canvas);

Plugins

DIVE comes with several built-in plugins that provide specific functionality. They are self-contained and can be imported as a subpath export from the package:

import { ARSystem } from '@shopware-ag/dive/ar';

// Initialize AR with options
const arSystem = new ARSystem();
await arSystem.launch('path/to/model.glb', {
    arPlacement: 'horizontal', // or 'vertical'
    arScale: 'auto' // or 'fixed'
});

For detailed information about the plugin system, see Plugin System Documentation.

Documentation

For detailed documentation, please refer to the following sections:

Keywords

dive

FAQs

Package last updated on 05 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts