The smooth and pretty slider you can use this package for making your website unique ๐.
card picker:
- has NO DEPENDENCIES :)
- is completely free and open source.
Simple and awesome ๐
# Install card picker with npm
$ npm install --save card-picker
# If you use react version < 18
$ npm install --save card-picker --force
In a React app, use the Slider component:
import { Slider } from 'card-picker'
Name | Description | Require |
---|---|---|
infinity | Boolean, default false | โ |
height | String, default '100%' | โ |
borderRadius | String, default '0px' | โ |
previousButton | String, default arrow | โ |
nextButton | String, default arrow | โ |
#For previousButton and nextButton you can change default arrow for your svg, img, icon...etc
{
....
previousButton: '<img className="" src="" />',
nextButton: '<img className="" src="">'
}
Available in latest browsers.
MIT ยฉ Yousif Jasm