JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q52891F
  • License MIT

Vue-Pretty-Box is a powerful library designed specifically for VueJS 3, providing enhanced image viewing capabilities within your Vue applications. This versatile library allows you to effortlessly integrate zoom functionality for both single images and image galleries, enabling users to delve into the minutest details with ease.

Package Exports

  • vue-pretty-box
  • vue-pretty-box/dist/vue-pretty-box.css
  • vue-pretty-box/dist/vue-pretty-box.scss

Readme

Vue Prettybox

It is a tool dependency that allows you to open or zoom image just by click it. It helps you to view the image to have a better look of it without making zoom in on your browser.

Getting started

Installation

You can install vue-pretty-box using yarn add vue-pretty-box, npm install vue-pretty-box, or pnpm install vue-pretty-box.

Import components

You can import the components with the following code:

import {
  SingleImage,
  ImageGallery,
  ImageGalleryMasonry,
  ProductGallery
} from "vue-pretty-box";

Import CSS/SCSS

@import "vue-pretty-box/vue-pretty-box.css";

/* or */

@import "vue-pretty-box/vue-pretty-box.scss";