
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
react-stacker
Advanced tools
Carousel / slider component built with React.js. It’s flexible, fast and touch-friendly.

Install react-stacker using npm.
npm install --save react-stackeror if you prefer yarn
yarn add react-stackerimport React from "react";
import ReactDOM from "react-dom";
import { StackerSlide, StackerSlider } from "react-stacker";
export class App extends React.Component {
onChangeHandler = value => {
console.log("On change slide");
};
onPrevChangeHandler = event => {
console.log("On prev change slide");
};
onNextChangeHandler = event => {
console.log("On next change slide");
};
render() {
const { value } = this.state;
return (
<StackerSlider
dots={true}
infiniteLoop={true}
onChange={this.onChangeHandler}
onPrevChange={this.onPrevChangeHandler}
onNextChange={this.onNextChangeHandler}
>
<StackerSlide>
Slide 6/6
</StackerSlide>
<StackerSlide>
Slide 5/6
</StackerSlide>
<StackerSlide>
Slide 4/6
</StackerSlide>
<StackerSlide>
Slide 3/6
</StackerSlide>
<StackerSlide>
Slide 2/6
</StackerSlide>
<StackerSlide>
Slide 1/6
</StackerSlide>
</StackerSlider>
);
}
}
ReactDOM.render(<App />, document.getElementById("root"));
| Props | Type | Default | Description |
|---|---|---|---|
| className | string | - | - |
| zDistance | number | 50 | Distance between slides by z axis |
| yDistance | number | 30 | Distance between slides by y axis |
| transitionDuration | number | 0.8 | Slide transition speed. Number of milliseconds accepted. |
| infiniteLoop | boolean | true | Flag to make the carousel loop around when it reaches the end. |
| dots | boolean | false | Flag to render pagination component. |
| dotsColor | string | #0000007d | The fill color of pagination dots. Any valid CSS color is accepted |
| dotsActiveColor | string | #ff0000 | The fill color of the active pagination dot. Any valid CSS color is accepted. |
| dotsSize | string | 8px | The size of each pagination dot. Pixel values are accepted. |
| dotsPadding | string | 6px | The padding inside each pagination dot. Pixel values are accepted. |
| slideWidth | string | - | Weight of the slides. |
| slideHeight | string | - | Height of the slides. |
| Event | Type | Emitter |
|---|---|---|
| onChange | function | carousel |
| onPrevChange | function | carousel |
| onNextChange | function | carousel |
When raising an issue, please add as much details as possible. Screenshots, video recordings, or anything else that can make it easier to reproduce the bug you are reporting.
This project is licensed under the MIT License
FAQs
3d stacked content swiper/carousel component for React.js
We found that react-stacker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.