Vertical timeline for React.js
npm install react-vertical-timeline-component 
React Vertical Timeline documentation
``code`
$ npm i react-vertical-timeline-component
`code|lang-jsx
---
import { VerticalTimeline, VerticalTimelineElement } from 'react-vertical-timeline-component';
import 'react-vertical-timeline-component/style.min.css';
...
contentStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
contentArrowStyle={{ borderRight: '7px solid rgb(33, 150, 243)' }}
date="2011 - present"
iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
icon={
>
Creative Director
Miami, FL
Creative Direction, User Experience, Visual Design, Project Management, Team Leading
date="2010 - 2011"
iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
icon={
>
Art Director
San Francisco, CA
Creative Direction, User Experience, Visual Design, SEO, Online Marketing
date="2008 - 2010"
iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
icon={
>
Web Designer
Los Angeles, CA
User Experience, Visual Design
date="2006 - 2008"
iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
icon={
>
Web Designer
San Francisco, CA
User Experience, Visual Design
date="April 2013"
iconStyle={{ background: 'rgb(233, 30, 99)', color: '#fff' }}
icon={
>
Content Marketing for Web, Mobile and Social Media
Online Course
Strategy, Social Media
date="November 2012"
iconStyle={{ background: 'rgb(233, 30, 99)', color: '#fff' }}
icon={
>
Agile Development Scrum Master
Certification
Creative Direction, User Experience, Visual Design
date="2002 - 2006"
iconStyle={{ background: 'rgb(233, 30, 99)', color: '#fff' }}
icon={
>
Bachelor of Science in Interactive Digital Media Visual Imaging
Bachelor Degree
Creative Direction, Visual Design
icon={
/>
`
Enable or disable animations on elements (default: true).
Add extra class name to root div element.
Choose if you want '1-column-left' or '1-column-right' or '2-columns' (default: '2-columns').
Choose a color for the timeline (default: 'white').
Add extra class name to root div element.
Add extra style to content arrow div element.
Add extra style to content div element.
Date of the element.
Add extra class name to the element's date.
Icon of the element.
Add extra class name to the element's icon.
Shadow size for icon (default: 'small'). Available sizes are 'small', 'medium' and 'large'.
onClick handler of the element's icon.
onClick handler of the vertical timeline element's div.
Style of the element's icon.
Position of the element (left or right).
Add extra style to root div element.
Add extra class name to the text container.
Custom props pass to useInView component (default: { rootMargin: '0px 0px 40px 0px' }).
See react-intersection-observer for more information.
Show element by default even if it is outside of the viewport (default: false).
* My resume (Stéphane Monnot).
`code`
$ npm start
code
$ npm test
`$3
`code
$ npm test -- --watch
`$3
`code
$ npm run lint
`
$3
`code
$ npm run dist
`
$3
`code
$ npm publish
``react-vertical-timeline-component is available under MIT. See LICENSE for more details.