Striped Rows
A copy-paste timelines component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
TimelinesHTMLCSSany framework
MonKickoff meetingplanning
TueDesign handoffdesign
WedDev sprint startdev
ThuQA & testingqa
FriShip it! 🚀release
Copy into your project
HTML
<div class="nuda-tl-stripe">
<div class="nuda-tl-stripe__row">
<span class="nuda-tl-stripe__date">Mon</span>
<div class="nuda-tl-stripe__bar" style="background:#6366f1"></div>
<span class="nuda-tl-stripe__event">Kickoff meeting</span>
<span class="nuda-tl-stripe__tag" style="color:#6366f1;background:#6366f118;border-color:#6366f133">planning</span>
</div>
<div class="nuda-tl-stripe__row nuda-tl-stripe__row--alt">
<span class="nuda-tl-stripe__date">Tue</span>
<div class="nuda-tl-stripe__bar" style="background:#a855f7"></div>
<span class="nuda-tl-stripe__event">Design handoff</span>
<span class="nuda-tl-stripe__tag" style="color:#a855f7;background:#a855f718;border-color:#a855f733">design</span>
</div>
<div class="nuda-tl-stripe__row">
<span class="nuda-tl-stripe__date">Wed</span>
<div class="nuda-tl-stripe__bar" style="background:#e4ff54"></div>
<span class="nuda-tl-stripe__event">Dev sprint start</span>
<span class="nuda-tl-stripe__tag" style="color:#e4ff54;background:#e4ff5418;border-color:#e4ff5433">dev</span>
</div>
<div class="nuda-tl-stripe__row nuda-tl-stripe__row--alt">
<span class="nuda-tl-stripe__date">Thu</span>
<div class="nuda-tl-stripe__bar" style="background:#22c55e"></div>
<span class="nuda-tl-stripe__event">QA & testing</span>
<span class="nuda-tl-stripe__tag" style="color:#22c55e;background:#22c55e18;border-color:#22c55e33">qa</span>
</div>
<div class="nuda-tl-stripe__row">
<span class="nuda-tl-stripe__date">Fri</span>
<div class="nuda-tl-stripe__bar" style="background:#ff6b6b"></div>
<span class="nuda-tl-stripe__event">Ship it! 🚀</span>
<span class="nuda-tl-stripe__tag" style="color:#ff6b6b;background:#ff6b6b18;border-color:#ff6b6b33">release</span>
</div>
</div>CSS
.nuda-tl-stripe {
display: flex;
flex-direction: column;
gap: 0;
width: 242px;
border: 1px solid rgba(255,255,255,.08);
border-radius: 10px;
overflow: hidden;
}
.nuda-tl-stripe__row {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
background: transparent;
transition: background .1s;
}
.nuda-tl-stripe__row--alt {
background: rgba(255,255,255,.025);
}
.nuda-tl-stripe__date {
font-size: 10px;
color: #555;
font-weight: 600;
min-width: 28px;
flex-shrink: 0;
}
.nuda-tl-stripe__bar {
width: 3px;
height: 18px;
border-radius: 2px;
flex-shrink: 0;
}
.nuda-tl-stripe__event {
font-size: 11px;
color: #cfcfcf;
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.nuda-tl-stripe__tag {
font-size: 9px;
padding: 2px 6px;
border-radius: 999px;
border: 1px solid;
flex-shrink: 0;
font-weight: 500;
}
How to use Striped Rows
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.