# react-flickity-component-updated

> jkusachi's fork of react flickity component

Latest version **0.0.5** (published 2017-07-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-flickity-component-updated
pnpm add react-flickity-component-updated
yarn add react-flickity-component-updated
bun add react-flickity-component-updated
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2017-07-22 |
| First published | 2017-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | jkusachi |
| Maintainers | doublet136 |
| Keywords | react, carousel, slider, flickity, react-component |

## Links

- npm: https://www.npmjs.com/package/react-flickity-component-updated
- Repository: https://github.com/jkusachi/react-flickity-component
- Homepage: https://github.com/jkusachi/react-flickity-component#readme
- Issues: https://github.com/jkusachi/react-flickity-component/issues
- npm.io page: https://npm.io/package/react-flickity-component-updated

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2017-07-22
- 0.0.4 — 2017-07-22

## README

React Flickity Component
=======================

#### Introduction:
A React.js Flickity component, created from forked version of react-flickity-compoment from jkusachi. All credits go to jkusachi.

#### Install:

```shell
npm install react-flickity-component-updated --save
```
#### Peer Dependencies:
- Flickity
- imagesLoaded

#### Development:
**Build** `npm run build`

**Watch** `npm run dev`

#### Assumptions!!!:

```
import Flickity from 'flickity';
import imagesloaded from 'imagesloaded';

window.Flickity = Flickity;
window.imagesloaded = imagesloaded;
```

so please run
`npm install --save flickity imagesloaded`



#### Usage:

```javascript
import React from 'react';
import FlickityComponent from 'react-flickity-component';

var flickityOptions = {
    initialIndex: 2
}

export default function TestComponent() {
    return (
        <FlickityComponent
            className={'carousel'}
            elementType={'span'}
            options={flickityOptions}
        >
            <div className="items">
                <img src="/images/placeholder.png"/>
            </div>
            <div className="items">
                <img src="/images/placeholder.png"/>
            </div>
            <div className="items">
                <img src="/images/placeholder.png"/>
            </div>
        </FlickityComponent>
    );
}

```

#### Credits

Forked from [theolampert/react-flickity-component](https://github.com/theolampert/react-flickity-component)


#### License Information:
Flickity may be used in commercial projects and applications with the one-time purchase of a commercial license.
http://flickity.metafizzy.co/license.html

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