Vertical timeline in React
A simple vertical timeline to trace a company's history, with date, title and description.
Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.
This component also comes in
The code in React
export function VerticalTimeline() {
return (
<section className="mx-auto w-[min(100%_-_2rem,38rem)] py-8">
<section>
<h2 className="mb-7 text-3xl font-bold md:text-4xl">Notre histoire</h2>
<ol>
<li className="relative border-l-2 border-[#c9d6f2] pb-8 pl-8 before:absolute before:top-1 before:-left-2 before:size-3.5 before:rounded-full before:bg-blue-700 before:shadow-[0_0_0_4px_#f8faff] before:content-[''] last:border-l-transparent last:pb-0 dark:border-[#22335a] dark:before:bg-[#93b4ff] dark:before:shadow-[0_0_0_4px_#070d1c]">
<time dateTime="2014" className="font-extrabold text-blue-700 dark:text-[#93b4ff]">
2014
</time>
<h3 className="mt-1 mb-1.5 text-lg font-bold">Création à Bordeaux</h3>
<p className="leading-relaxed text-[#46577a] dark:text-[#a9b9dd]">Free component: copy it freely, including for commercial projects.
Other timelines components in React
Timelines components in React
Changelog
FreeA per-version changelog, with date and New, Improved or Fixed labels.
- Tailwind
- React
- CSS
- WordPress