Skip to content

Installation

VistaView is a lightweight image lightbox library that can be installed via npm or used directly from a CDN.

Terminal window
npm install vistaview

For quick prototyping or non-bundler environments, use the UMD build via CDN:

<link rel="stylesheet" href="https://unpkg.com/vistaview/dist/style.css" />
<script src="https://unpkg.com/vistaview/dist/vistaview.umd.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vistaview/dist/style.css" />
<script src="https://cdn.jsdelivr.net/npm/vistaview/dist/vistaview.umd.js"></script>

VistaView is lightweight and optimized for production:

  • Core Library: ~42KB ESM (~10KB gzip)
  • CSS: ~7KB (~1.7KB gzip)
  • Total: ~49KB (~11.7KB gzip)

VistaView works in all modern browsers:

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

VistaView provides official bindings for popular frameworks:

  • React - Component and hook
  • Vue 3 - Component and composable
  • Svelte - Hook
  • Solid - Hook
  • Vanilla JS - Direct API

See the Integration guides for framework-specific instructions.

GitHubnpmllms.txtContext7

© 2026 • MIT License