# picture-box

> Add image to crousal with class name

Latest version **1.0.2** (published 2021-01-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install picture-box
pnpm add picture-box
yarn add picture-box
bun add picture-box
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-01-04 |
| First published | 2021-01-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mayank Garg |
| Maintainers | mayank-mg |
| Keywords | Crousal, SlideShow, Dynamic_Crousal, frequently_Add_Image_to_Crousal |

## Links

- npm: https://www.npmjs.com/package/picture-box
- Repository: https://github.com/mayank-mg/picture-box
- Homepage: https://github.com/mayank-mg/picture-box#readme
- Issues: https://github.com/mayank-mg/picture-box/issues
- npm.io page: https://npm.io/package/picture-box

## Dependencies (1)

- [use](https://npm.io/package/use.md) ^3.1.1

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2021-01-04
- 1.0.1 — 2021-01-03
- 1.0.0 — 2021-01-03

## README

# Picture Box

A vanila js library to show Crousal on image click

## Installations

`npm install pictureBox`

## Getting started

Add class `picture-box` to the img tag that you want to include in the crousal

```html
<img class="picture-box" src="image1.jpg" />
```

Add a js file in your project add add

```js
import { pictureBox } from "picture-box/pictureBox";
import "picture-box/pictureBox.css";
pictureBox.render();
```

Bundle it with webpack,parcel or any other bundler

---
_Source: https://npm.io/package/picture-box · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
