
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
react-infinite-logo-slider
Advanced tools
A slider of logos or react components that scroll horizontally infinitely
Install with npm
npm install react-infinite-logo-slider
import Slider from 'react-infinite-logo-slider'
const Component = () => {
return (
<Slider
width="250px"
duration={40}
pauseOnHover={true}
blurBorders={false}
blurBorderColor={'#fff'}
>
<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>
<div>
Other component...
</div>
</Slider.Slide>
</Slider>
)
}
export default Component
<Slider
width="200px"
duration={40}
toRight={false}
pauseOnHover={false}
blurBorders={false}
blurBorderColor={'#fff'}
>
...
</Slider>
Prop | Type | Default | Description |
---|---|---|---|
width | string | 200px | Required - Width of the ITEM |
duration | number | 40 | The speed with which it moves (in seconds) |
toRight | boolean | false | It moves in the right direction |
pauseOnHover | boolean | false | The animation pauses on hover |
blurBorders | boolean | false | A blur effect will appear at the ends of the slider |
blurBorderColor | string | #fff | Color of blur |
<Slider.Slide
id="sliderId"
key="any_key"
className="awesome_classname ...",
...
>
...
</Slider.Slide>
Prop | Type | Description |
---|---|---|
props | any | You can pass any props to this. |
FAQs
A slider of logos or react components that scroll horizontally infinitely
The npm package react-infinite-logo-slider receives a total of 1,715 weekly downloads. As such, react-infinite-logo-slider popularity was classified as popular.
We found that react-infinite-logo-slider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.