1.1.8 • Published 11 months ago

swipi v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Swipi

NPM version bundle size

Installation

npm

$ npm install swipi

yarn

$ yarn add swipi

Usage

import Swipi from 'swipi'

const styles = { height: '250px', backgroundColor: '#dadada' }

export const App = () => (
  <Swipi
    loop
    showDots
    spaceBetweenSlides={15}
  >
    <div style={styles} />
    <div style={styles} />
    <div style={styles} />
    <div style={styles} />
    <div style={styles} />
  </Swipi>
)

🔥 View more examples and create a custom slider

Browsers support

IE / EdgeFirefoxChromeSafariOpera
IE11, Edgelast 3 versionslast 3 versionslast 3 versionslast 3 versions

Props

💅 Styling

.swipi-wrapper - styles the container that wraps the slider with dots

.swipi-container - styles the container that wraps slides with arrows

.dots-wrapper - styles the container that wraps the dots

.left-button - styles the left button that gets the user to the previous slide

.right-button - styles the right button that gets the user to the next slide
1.1.8

11 months ago

1.1.7

11 months ago

1.1.6

11 months ago

1.1.5

11 months ago

1.1.4

12 months ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago