🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

artboard-deluxe

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

artboard-deluxe

Touch-friendly draggable artboard

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

Artboard Deluxe - Mouse and touch friendly artboard library

Demo - Docs - NPM

  • Use mouse, touch or wheel to pan, drag, scroll or zoom
  • Smooth/momentum scrolling, animations, scroll velocity
  • Works with a DOM element or HTML canvas (2D, WebGL)
  • Plugins for rendering scrollbars, overview or additional interactions
  • Plugin for adding keyboard shortcuts (Arrow, Page Up/Down, Ctrl+0, etc.)
Screen recording of using the artboard-deluxe library

Usage

npm install --save artboard-deluxe

Minimal Example

<div id="root">
  <div id="artboard">Hello World!</div>
</div>

<style>
  #root {
    position: relative;
    width: 500px;
    height: 500px;
  }

  #artboard {
    background: white;
  }
</style>

<script>
  import { createArtboard, mouse, wheel, raf, dom } from 'artboard-deluxe'

  const artboard = createArtboard(document.getElementById('root'), [
    dom({
      element: document.getElementById('artboard'),
    }),
    mouse(),
    wheel(),
    raf(),
  ])
</script>

Keywords

zoom

FAQs

Package last updated on 22 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