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

https://github.com/fitri-hy/hy-image-slider-react

Simple project module (Image Slider) for ReactJS
https://github.com/fitri-hy/hy-image-slider-react

image-slider react-image react-image-slider react-slider

Last synced: 2 months ago
JSON representation

Simple project module (Image Slider) for ReactJS

Awesome Lists containing this project

README

        

# Modules Images Slider for React v.1.0.0

ReactJS modules are simple but have many advantages, one of which is that you can customize them freely.

## NPM Installation

```sh
npm install hy-image-slider-react
```

## Example Project Implemented

```sh
// Add - Impport module //
import Slider from 'hy-image-slider-react';
//----//

const App = () => {
return (



// Add - Default components //

//----//


);
};

export default App;
```

## Customization

| Atribute | Key | Description | Status |
|:--------------------------|:-----------|:-----------|:-----------|
| `images={key?}` |`['banner-1.jpg', 'banner-1.jpg', 'banner-1.jpg']` |Insert image (local/url) |Required
| `interval={key?}` |`500` `1000` `3000` etc... |Set interval time |Required
| `width={key?}` |`600` `1000` `1500` etc... |Set width (px) |Optional
| `height={key?}` |`600` `1000` `1500` etc... |Set height (px) |Optional
| `objectFit="key?"` |`fill` `contain` `cover` `scale-down` `none` |Set Image Object |Optional
| `hoverStop={key?}` |`true` `false` |Image stops on hover |Optional
| `borderRadius={key?}` |`0` `10` `25` etc... |Set corner radius image |Optional
| `hideButton={key?}` |`true` `false` |Hide/Show button |Optional
| `buttonTextNext="key?"` |Any text |Set text button (Next) |Optional
| `buttonTextPrev="key?"` |Any text |Set text button (Prev) |Optional
| `classSlider="key?"` |Use class css |CSS Slider Container |Optional
| `classImg="key?"` |Use class css |CSS Slider images |Optional
| `classButtonMain="key?"` |Use class css |CSS Slider Button Container |Optional
| `classButton="key?"` |Use class css |CSS Slider Button |Optional

## Full Customization

```sh

```

## Structural Components
```sh







```

Happy Coding :)

Follow Me: FOLLOW