# react-animate-images

> This is the project for the making animation with showing series of images in time interval. You can Move from mouse also. You can place anywhere in the react project and customise with your style of Fram. Many option are given in this.

Latest version **0.1.4** (published 2019-11-21) · (ISC OR GPL-3.0) license · 0 weekly downloads

## Install

```sh
npm install react-animate-images
pnpm add react-animate-images
yarn add react-animate-images
bun add react-animate-images
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2019-11-21 |
| First published | 2019-11-21 |
| Weekly downloads | 0 |
| License | (ISC OR GPL-3.0) |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | nafisahmed |

## Links

- npm: https://www.npmjs.com/package/react-animate-images
- Repository: https://github.com/nafisahmedkhan9/react-animate-image
- Homepage: https://github.com/nafisahmedkhan9/react-animate-image#readme
- Issues: https://github.com/nafisahmedkhan9/react-animate-image/issues
- npm.io page: https://npm.io/package/react-animate-images

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.8.6
- [react-dom](https://npm.io/package/react-dom.md) ^16.8.6
- [react-scripts](https://npm.io/package/react-scripts.md) 3.0.1

## Recent versions

- 0.1.4 (latest) — 2019-11-21
- 0.1.3 — 2019-11-21
- 0.1.2 — 2019-11-21
- 0.1.1 — 2019-11-21
- 0.1.0 — 2019-11-21

## README

## Info

This is the project for the making animation with showing series of images in time interval. You can Move from mouse also.
You can place anywhere in the react project and customise with your style of Fram. Many option are given in this.

### Dependencies

No

### Demo App

```javascript
  import React from "react"
  import ReactAnimateImages from "../src/lib"
  class Demo extends React.Component {
    constructor() {
      super()
      this.state = {}
      this.state.images = []
      for (var i = 1; i <= 72; i++) {
        this.state.images.push("https://imgd.aeplcdn.com/1280x720/cw/360/marutisuzuki/1082/closed-door/" + i + ".jpg")
      }
    }

    render() {
      return (
        <div style={{display: "flex", justifyContent: "center"}}>
          <div>
            <h1>Demo For React Animate Images</h1>
            <div>
              <button onClick={() => this.IMGAE_ANIMATION.handleStart()}> Start </button>
              <button onClick={() => this.IMGAE_ANIMATION.handleStop()}> Stop </button>
            </div>
            <div>
              <ReactAnimateImages
                style={{ heigth: "150px" }}
                ref={instance => { this.IMGAE_ANIMATION = instance }}
                images={this.state.images} 
                framInterval={50} 
                stopAfterFirstRound={true}/>
            </div>
          </div>
        </div>
      )
    }
  }
  export default Demo
```

### Options

Options | Type | default Value | Description
--------|------|---------------|------------
images | Array of Images | required | list of images 
framInterval | positive integer | 100 | interval between showing another images 
activeImageIndex | positive integer | 1 | Start Index of image on the given array of images (start from 1)
stopAfterFirstRound | boolean | false | Stop On page load when first round completed
stopAfterEachRound | boolean | false | Stop on each round completed
className | String | "" | react className property
style | string | {} | react style property

### Give Contribution

Feel free to test and open issue on this project and will make sure your issue will be solved as soon as possible

### License

#### (ISC OR GPL-3.0)

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