Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@immersive-scroll/web

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@immersive-scroll/web

Vanilla web adapter for immersive scroll video.

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
14
250%
Maintainers
1
Weekly downloads
 
Created
Source

@immersive-scroll/web

Framework-free DOM API and custom-element wrapper for immersive scroll scenes. Use this package when you need a runtime that can be mounted imperatively or dropped into a CMS or non-framework shell.

Install

pnpm add @immersive-scroll/web

Main exports

  • createImmersiveInstance(): mount an immersive scene into an existing container.
  • destroyImmersiveInstance(): dispose a mounted instance explicitly.
  • registerImmersiveCustomElement(): register <immersive-scroll>.
  • ImmersiveScrollElement: the custom-element implementation.

Imperative example

import { createImmersiveInstance } from '@immersive-scroll/web';

const container = document.querySelector('#scene');

if (container instanceof HTMLElement) {
  createImmersiveInstance({
    container,
    framesPath: '/immersive/story'
  });
}

Custom element example

import { registerImmersiveCustomElement } from '@immersive-scroll/web';

registerImmersiveCustomElement();
<immersive-scroll frames-path="/immersive/story"></immersive-scroll>

FAQs

Package last updated on 21 Apr 2026

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