Skip to content

joseph625/card-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Card Picker npm version

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.

Table of Contents

preview

Example code

Simple and awesome 😎

Install

# Install card picker with npm
$ npm install --save card-picker

# If you use react version < 18
$ npm install --save card-picker --force

Usage

In a React app, use the Slider component:
import { Slider } from 'card-picker'

Slider props

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="">'
}

Browser Support

Available in latest browsers.

License

MIT Β© Yousif Jasm

About

React card picker, it's simple and small size slider πŸ™‚

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published