🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

react-blaze-slider

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-blaze-slider

React Integration for Blaze Slider

latest
npmnpm
Version
1.7.2
Version published
Weekly downloads
219
-30.7%
Maintainers
1
Weekly downloads
 
Created
Source

react-blaze-slider

A lightweight hook to integrate blaze-slider with react


Installation

npm i blaze-slider react-blaze-slider

Usage

import { useBlazeSlider } from 'react-blaze-slider'
import 'blaze-slider/dist/blaze.css'

function Example() {
  const ref = useBlazeSlider({
    all: {
      slidesToShow: 3,
    },
  })

  return (
    <div className="App">
      <div className="blaze-slider" ref={ref}>
        <div className="blaze-container">
          <div className="blaze-track-container">
            <div className="blaze-track">
              <div> 1 </div>
              <div> 2 </div>
              <div> 3 </div>
              <div> 4 </div>
              <div> 5 </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  )
}

Example

Checkout this sandbox to see the live demo


Blaze Slider Documentation

check out the Website blaze-slider.dev for Documentation about the blaze-slider core library.

The documentation is divided into several sections:


License

MIT

Keywords

blaze slider

FAQs

Package last updated on 22 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts