1.3.0 • Published 1 year ago

dx-slider v1.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

dx-slider

A customizable React slider component with smooth transitions and auto-play functionality. Best used for rendering smaller images into a carousel.

Installation

Install the package using npm:

npm install dx-slider

import React from 'react';
import ReactDOM from 'react-dom';
import Slider from 'dx-slider';

const images = [
  'url-to-image1.jpg',
  'url-to-image2.jpg',
  'url-to-image3.jpg',
  // Add more images
];

const App = () => (
  <div>
    <h1>"Custom Slider"</h1>
    # pass in size props and an object of images
    <Slider images={images} width="600px" height="400px" />
  </div>
);

ReactDOM.render(<App />, document.getElementById('root'));

Here is an example of the slider in action:

## Demo Video

https://www.youtube.com/watch?v=4RKd7zfDKe0
1.3.0

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago