
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
react-interactive-timeline
Advanced tools
A timeline component for React

Using npm:
$ npm install --save react-interactive-timeline
Using yarn:
$ yarn add react-interactive-timeline
Basic example:
import React from 'react';
import Timeline from 'react-interactive-timeline';
const BasicExample = () => {
return (
<Timeline
startDate={'2018-09-01'}
endDate={'2019-06-30'}
>
<Timeline.Row>
<Timeline.Event date="2018-12-12" label="My event" />
</Timeline.Row>
<Timeline.Row fixedHeight>
<Timeline.StepLabels />
</Timeline.Row>
</Timeline>
);
};
More complete example:
import React from 'react';
import Timeline, { calendar } from 'react-interactive-timeline';
const MoreCompleteExample = () => {
return (
<Timeline
calendar={calendar('en', 'day')}
startDate={'1966-01-01'}
endDate={'1974-01-01'}
theme={{
backgroundColor: '#323232',
primaryColor: '#AAA',
secondaryColor: '#AA0',
tertiaryColor: '#A50',
eventColor: '#AAA',
}}
stepMinWidth="70px"
>
<Timeline.Controls panDuration={{ month: 6 }} zoomFactor={2} />
<Timeline.StepBars />
<Timeline.CurrentDateBar />
<Timeline.Row style={{ marginTop: '30px' }}>
<Timeline.Period startDate="1963-11-22" endDate="1969-01-20" label="Lyndon B. Johnson" color="#1DB1F1" />
<Timeline.Period startDate="1969-01-20" endDate="1974-08-09" label="Richard Nixon" color="#E61A28" />
</Timeline.Row>
<Timeline.Row>
<Timeline.Event date="1967-01-27" label="Apollo 1" />
<Timeline.Event date="1968-10-11" label="Apollo 7" />
<Timeline.Event date="1968-12-21" label="Apollo 8" />
<Timeline.Event date="1969-03-03" label="Apollo 9" />
<Timeline.Event date="1969-05-18" label="Apollo 10" />
<Timeline.Event date="1969-07-16" label="Apollo 11" color="#81996A" />
<Timeline.Event date="1969-11-14" label="Apollo 12" />
<Timeline.Event date="1970-04-11" label="Apollo 13" />
<Timeline.Event date="1971-01-31" label="Apollo 14" />
<Timeline.Event date="1971-07-26" label="Apollo 15" />
<Timeline.Event date="1972-04-16" label="Apollo 16" />
<Timeline.Event date="1972-12-07" label="Apollo 17" />
</Timeline.Row>
<Timeline.Row fixedHeight>
<Timeline.StepLabels />
</Timeline.Row>
</Timeline>
);
};
MIT © mguihal
FAQs
Customizable and interactive timeline component for React
We found that react-interactive-timeline 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.