An open API service indexing awesome lists of open source software.

https://github.com/knowankit/react-smart-carousel

🪟 A smart carousel that remembers how you slid the image.
https://github.com/knowankit/react-smart-carousel

carousel image-carousel react-smart-carousel slider slider-component

Last synced: 3 months ago
JSON representation

🪟 A smart carousel that remembers how you slid the image.

Awesome Lists containing this project

README

          

# react-smart-carousel

[![NPM](https://img.shields.io/npm/v/react-smart-carousel.svg)](https://www.npmjs.com/package/react-smart-carousel) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

![Trello clone](https://github.com/knowankit/react-smart-carousel/blob/develop/smart-carousel.gif)



Twitter: Ankit Kumar

## Install

```bash
npm install --save react-smart-carousel
```

If you prefer to use `yarn`, you can do:

```bash
yarn add react-smart-carousel
```

## Usage

```tsx
import React, { Component } from 'react'

import { ReactSmartCarousel } from 'react-smart-carousel'
import 'react-smart-carousel/dist/index.css'

import one from './images/1.jpg'
import two from './images/2.jpg'
import three from './images/3.jpg'
import four from './images/4.jpg'
import five from './images/5.jpg'
import six from './images/6.jpg'

const Example = () => {
return
}

```

## Props

* `images` - An array of images

## Demo

[Live preview](https://knowankit.github.io/react-smart-carousel/)

## Other interesting repositories

- [My Portfolio](https://github.com/knowankit/knowankit.com)
- [Trello Clone](https://github.com/knowankit/trello-clone)

## License

MIT © [knowankit](https://github.com/knowankit)