# @paperlust/slider

> Slider is a component vue for multi project.

Latest version **1.1.2** (published 2021-05-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @paperlust/slider
pnpm add @paperlust/slider
yarn add @paperlust/slider
bun add @paperlust/slider
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2021-05-25 |
| First published | 2021-05-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 5 |
| Unpacked size | 937.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Harasya |
| Maintainers | harasya |

## Links

- npm: https://www.npmjs.com/package/@paperlust/slider
- npm.io page: https://npm.io/package/@paperlust/slider

## Dependencies (5)

- [vue-slick-carousel](https://npm.io/package/vue-slick-carousel.md) ^1.0.6
- [@fortawesome/vue-fontawesome](https://npm.io/package/@fortawesome/vue-fontawesome.md) ^2.0.2
- [@fortawesome/fontawesome-svg-core](https://npm.io/package/@fortawesome/fontawesome-svg-core.md) ^1.2.34
- [@fortawesome/free-solid-svg-icons](https://npm.io/package/@fortawesome/free-solid-svg-icons.md) ^5.15.2
- [@fortawesome/free-regular-svg-icons](https://npm.io/package/@fortawesome/free-regular-svg-icons.md) ^5.15.2

## Recent versions

- 1.1.2 (latest) — 2021-05-25
- 1.1.1 — 2021-05-21
- 1.1.0 — 2021-05-21
- 1.0.9 — 2021-05-21
- 1.0.8 — 2021-05-21
- 1.0.7 — 2021-05-20
- 1.0.6 — 2021-05-20
- 1.0.5 — 2021-05-20
- 1.0.4 — 2021-05-20
- 1.0.3 — 2021-05-20
- 1.0.2 — 2021-05-20
- 1.0.1 — 2021-05-20
- 1.0.0 — 2021-05-20

## README

# Slider

Slider is a component vue for multi project.

## Installation

Use the package manager [nodejs](https://nodejs.org/dist/v14.16.0/node-v14.16.0-x64.msi/) to install Slider.

```bash
npm install @paperlust/slider
```

## Usage

import package

```javascript
import vSlider from '@paperlust/slider';
```

import style from package

```javascript
import '@paperlust/slider/dist/style.css';
```

Example:

```javascript
import vSlider from '@paperlust/slider';
import '@paperlust/slider/dist/style.css';

export default {
  ....
  components: {
    vSlider
  },
  ....
}
```

add on your component vue

```html
<v-slider :data="items" :options="options" />
```

## Slots

| Name         | Description                       |
| ------------ | --------------------------------- |
| `prevArrow`  | Content to place arrow left       |
| `nextArrow`  | Content to place arrow right      |
| `top`        | Content to place above image      |
| `left-item`  | Content to place left item slide  |
| `right-item` | Content to place right item slide |
| `item`       | Content to place item image       |
| `bottom`     | Content to place below image      |

## Props

| Name      | Type   | Default                                                                                   | Description                |
| --------- | ------ | ----------------------------------------------------------------------------------------- | -------------------------- |
| `data`    | Array  | {}                                                                                        | Array data item for slider |
| `options` | Object | `{adaptiveHeight: true, infinite: false,arrows: true,slidesToShow: 4, slidesToScroll: 1}` | Options for slider         |

## Custom Slider

Can you update this component slider use this documentation [vue-slick-carousel](https://github.com/gs-shop/vue-slick-carousel)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

---
_Source: https://npm.io/package/@paperlust/slider · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
