An open API service indexing awesome lists of open source software.

https://github.com/p-m-p/slider

A modern, light weight content slider
https://github.com/p-m-p/slider

carousel javascript react slider slideshow typescript

Last synced: 26 days ago
JSON representation

A modern, light weight content slider

Awesome Lists containing this project

README

          




Box Slider


A modern, light weight content slider



NPM Status
jsDelivr hits
Build Status

## About

BoxSlider is a small library with zero dependencies that provides a light-weight, responsive content slider with
multiple slide transition effects for modern browsers.

The library can be used standalone or via React and web components. View the [website](https://philparsons.co.uk/slider/)
for full details.

## Installation

Install from NPM

```sh
npm install --save @boxslider/slider
```

Use from CDN

```html

import { createCarouselSlider } from 'https://cdn.jsdelivr.net/npm/@boxslider/slider/+esm'

createCarouselSlider('#slider')

```

### React

Install via NPM

```sh
npm install --save @boxslider/react
```

```tsx
import { SliderControls, CarouselSlider } from '@boxslider/react'

function MySlider() {
return (


Slide 1

Slide 2

Slide 3



)
}
```

View the [React guide](https://philparsons.co.uk/slider/docs/guides/react) for full details

### Web Components

Install via NPM

```sh
npm install --save @boxslider/components
```

Use from CDN

```html


Slide 1

Slide 2

Slide 3