Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-infinite-logo-slider

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-infinite-logo-slider

![Video](https://printeeds.s3.eu-central-1.amazonaws.com/next-s3-uploads/420850c1-8958-4054-9f18-ef09021bd9eb/4913d100e73f323dc1288455e94ff946.gif)

  • 1.0.8
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Video

Infinite logo slider

Installation

Install with npm

  npm install react-infinite-logo-slider

Usage/Examples

import Slider from 'react-infinite-logo-slider'

const Component = () => {
    
    return (
        <Slider>
            <Slider.Slide>
                <img src="/slider/any.png" alt="any" className='w-36' />
            </Slider.Slide>
            <Slider.Slide>
                <img src="/slider/any2.png" alt="any2" className='w-36' />
            </Slider.Slide>
            <Slider.Slide>
                <img src="/slider/any3.png" alt="any3" className='w-36' />
            </Slider.Slide>
            <Slider.Slide>
                <img src="/slider/any4.png" alt="any4" className='w-36' />
            </Slider.Slide>
        </Slider>
    )
}              
                     
export default Component

Slider props

  <Slider
    width="200px"
    duration={40},
    toRight={false},
    pauseOnHover={false},
    blurBorders={false},
    blurBoderColor={'#fff'}
  >
    ...
  </Slider>
PropTypeDefaultDescription
widthstring200pxRequired - Width of the ITEM
durationnumber40The speed with which it moves
toRightbooleanfalseIt moves in the right direction
pauseOnHoverbooleanfalseThe animation pauses on hover
blurBordersbooleanfalseA blur effect will appear at the ends of the slider
blurBoderColorstring#fffColor of blur

Slide props

  <Slider.Slide
    id="sliderId"
    key="any_key"
    className="awesome_classname ...",
    ...
  >
    ...
  </Slider.Slide>
PropTypeDescription
propsanyYou can pass any props to this.

Keywords

FAQs

Package last updated on 30 Mar 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc