1.6.10 • Published 1 year ago

react-vertical-animated-slider v1.6.10

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

react-vertical-animated-slider

click here to see : live demo

install :

npm i react-vertical-animated-slider

how to use :

  import VerticalAnimatedCarousel from "react-vertical-animated-slider";

  <VerticalAnimatedCarousel data={someData} CardItem={YourCardItemComponent} />

props :

data: unknown; ---> array of data
CardItem: React.ComponentType<{ card: unknown }>; ---> CardItem Component

containerClassName?: string; ---> className with string
containerStyle?: React.CSSProperties; style with CSSProperties like this : {{ height: '10rem' }}

carouselClassName?: string; ---> className with string
carouselStyle?: React.CSSProperties; ---> style with CSSProperties like this : {{ height: '10rem' }}

cardItemClassName?: string; ---> className with string
cardItemStyle?: React.CSSProperties; ---> style with CSSProperties like this : {{ height: '10rem' }}

behindCardSpace?: number; ---> space of card behind main card, default is 1.4
maxBehindCardVisibility?: number; ---> max number of card visiblity of cards, default is 2
startFromRight?: boolean; ---> startFromRight or left, default is right { startFromRight: true }

how to customize it :

  <VerticalAnimatedCarousel data={someData} CardItem={YourCardItemComponent} containerStyle={{ height: '10rem', marginTop: '2rem' }} carouselStyle={{ height: '10rem' }} cardItemStyle={{ height: '10rem' }} />

npm package link

go-to npm package link

1.6.10

1 year ago

1.6.9

1 year ago

1.6.4

1 year ago

1.4.6

1 year ago

1.6.3

1 year ago

1.4.5

1 year ago

1.6.2

1 year ago

1.4.4

1 year ago

1.6.1

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.2.2

1 year ago

1.5.30

1 year ago

1.5.32

1 year ago

1.5.31

1 year ago

1.5.34

1 year ago

1.5.33

1 year ago

1.5.9

1 year ago

1.5.8

1 year ago

1.5.7

1 year ago

1.3.9

1 year ago

1.5.6

1 year ago

1.3.8

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.5.5

1 year ago

1.3.7

1 year ago

1.5.4

1 year ago

1.3.6

1 year ago

1.5.3

1 year ago

1.3.5

1 year ago

1.5.2

1 year ago

1.3.4

1 year ago

1.5.1

1 year ago

1.3.3

1 year ago

1.5.0

1 year ago

1.3.2

1 year ago

1.1.2

1 year ago

1.5.10

1 year ago

1.5.12

1 year ago

1.5.11

1 year ago

1.5.14

1 year ago

1.5.13

1 year ago

1.5.16

1 year ago

1.5.18

1 year ago

1.5.17

1 year ago

1.5.19

1 year ago

1.6.8

1 year ago

1.5.21

1 year ago

1.6.7

1 year ago

1.5.20

1 year ago

1.4.9

1 year ago

1.6.6

1 year ago

1.5.23

1 year ago

1.4.8

1 year ago

1.6.5

1 year ago

1.5.22

1 year ago

1.4.7

1 year ago

1.5.25

1 year ago

1.5.24

1 year ago

1.5.27

1 year ago

1.5.26

1 year ago

1.5.29

1 year ago

1.0.0

1 year ago