
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
image-sequence-animator
Advanced tools
A React component to animate a sequence of images like a video.
A lightweight React component for animating a sequence of images with playback controls, mimicking a video-like experience. Ideal for product showcases, interactive tutorials, or frame-by-frame animations.
npm install image-sequence-animator
# or
yarn add image-sequence-animator
# or
pnpm add image-sequence-animator
import React from 'react';
import ImageSequenceAnimator, { ImageSequenceAnimatorProps } from 'image-sequence-animator';
const MyComponent = () => {
// Array of image URLs (replace with your actual image URLs)
const imageUrls = Array.from(
{ length: 50 }, // Example: 50 frames
(_, i) => `https://example.com/path/to/your/image_frame_${String(i + 1).padStart(3, '0')}.jpg`
);
return (
<div>
<h2>My Animation</h2>
<ImageSequenceAnimator
imageUrls={imageUrls}
frameRate={24} // Optional: default is 30
loop={true} // Optional: default is true
playbackSpeeds={[0.5, 1, 1.5, 2]} // Optional: default is [0.5, 1, 2]
showFilename={true} // Optional: default is false
style={{ border: '1px solid #ccc', maxWidth: '600px', margin: 'auto' }} // Optional styling
/>
</div>
);
};
export default MyComponent;
import ImageSequenceAnimator from 'image-sequence-animator';
const MyComponent = () => {
const imageUrls = [
'https://example.com/frame1.jpg',
'https://example.com/frame2.jpg',
'https://example.com/frame3.jpg',
];
return (
<ImageSequenceAnimator
imageUrls={imageUrls}
frameRate={24}
loop={true}
style={{ maxWidth: '600px', margin: 'auto' }}
/>
);
};
| Prop | Type | Default | Description |
|---|---|---|---|
imageUrls | string[] | Required | Array of image URLs to animate. |
frameRate | number | 30 | Desired frame rate in frames per second. |
loop | boolean | true | Whether the animation should loop back to the start. |
playbackSpeeds | number[] | [0.5, 1, 2] | Array of available playback speed multipliers for controls. |
className | string | undefined | Optional CSS class name for the main container div. |
style | React.CSSProperties | undefined | Optional inline styles for the main container div. |
showFilename | boolean | false | Whether to display the filename of the current image. |
npm installnpm run devnpm run testnpm run buildContributions are welcome! Please refer to CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A React component to animate a sequence of images like a video.
The npm package image-sequence-animator receives a total of 13 weekly downloads. As such, image-sequence-animator popularity was classified as not popular.
We found that image-sequence-animator demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.