Skip to content
프로젝트

소개

모던하고 가벼운 콘텐츠 슬라이더입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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 for full details.

Packages

@boxslider/slider

The core JavaScript library. Zero runtime dependencies. Provides factory functions and a BoxSlider class for attaching transition effects to any container element.

Install from NPM:

npm install --save @boxslider/slider

Use from CDN:

<script type="module">
  import { createCarouselSlider } from 'https://cdn.jsdelivr.net/npm/@boxslider/slider/+esm'

  createCarouselSlider('#slider')
</script>

Available effects: createCarouselSlider · createCubeSlider · createFadeSlider · createTileSlider

@boxslider/react

React 19 component wrappers. Provides typed props and event handlers for all slider effects plus a SliderControls component that adds navigation controls automatically.

Install via NPM:

npm install --save @boxslider/react
import { SliderControls, CarouselSlider } from '@boxslider/react'

function MySlider() {
  return (
    <SliderControls>
      <CarouselSlider>
        <div>Slide 1</div>
        <div>Slide 2</div>
        <div>Slide 3</div>
      </CarouselSlider>
    </SliderControls>
  )
}

View the React guide for full details.

Available components: CarouselSlider · CubeSlider · FadeSlider · TileSlider · SliderControls

@boxslider/components

Framework-agnostic web components. Works in any modern browser or JavaScript framework without additional configuration.

Install via NPM:

npm install --save @boxslider/components

Use from CDN:

<script type="module" src="https://cdn.jsdelivr.net/npm/@boxslider/components/+esm"></script>

<bs-slider-controls>
  <bs-carousel>
    <div>Slide 1</div>
    <div>Slide 2</div>
    <div>Slide 3</div>
  </bs-carousel>
</bs-slider-controls>

View the web components guide for full details.

Available elements: <bs-carousel> · <bs-cube> · <bs-fade> · <bs-tile> · <bs-slider-controls>

관련 프로젝트 살펴보기

불러오는 중…