Skip to content

Activity Feed

A copy-paste timelines component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

TimelinesHTMLCSSany framework
💬

Alex commented on PR #42

2m ago

Sam merged branch main

15m ago
🚀

Bot deployed to staging

1h ago
🐛

Jordan opened issue #99

3h ago

Copy into your project

HTML
<div class="nuda-tl-feed">
  <div class="nuda-tl-feed__item">
    <div class="nuda-tl-feed__avatar" style="background:#6366f122;border:1px solid #6366f155">💬</div>
    <div class="nuda-tl-feed__body">
      <p class="nuda-tl-feed__text"><strong>Alex</strong> commented on PR #42</p>
      <span class="nuda-tl-feed__time">2m ago</span>
    </div>
  </div>
  <div class="nuda-tl-feed__item">
    <div class="nuda-tl-feed__avatar" style="background:#22c55e22;border:1px solid #22c55e55">✅</div>
    <div class="nuda-tl-feed__body">
      <p class="nuda-tl-feed__text"><strong>Sam</strong> merged branch main</p>
      <span class="nuda-tl-feed__time">15m ago</span>
    </div>
  </div>
  <div class="nuda-tl-feed__item">
    <div class="nuda-tl-feed__avatar" style="background:#e4ff5422;border:1px solid #e4ff5455">🚀</div>
    <div class="nuda-tl-feed__body">
      <p class="nuda-tl-feed__text"><strong>Bot</strong> deployed to staging</p>
      <span class="nuda-tl-feed__time">1h ago</span>
    </div>
  </div>
  <div class="nuda-tl-feed__item">
    <div class="nuda-tl-feed__avatar" style="background:#ff6b6b22;border:1px solid #ff6b6b55">🐛</div>
    <div class="nuda-tl-feed__body">
      <p class="nuda-tl-feed__text"><strong>Jordan</strong> opened issue #99</p>
      <span class="nuda-tl-feed__time">3h ago</span>
    </div>
  </div>
</div>
CSS
.nuda-tl-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 240px;
  background: #141414;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}

.nuda-tl-feed__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .15s;
}

.nuda-tl-feed__item:last-child {
  border-bottom: none;
}

.nuda-tl-feed__avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.nuda-tl-feed__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nuda-tl-feed__text {
  margin: 0;
  font-size: 11px;
  color: #cfcfcf;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nuda-tl-feed__text strong {
  color: #fafafa;
  font-weight: 600;
}

.nuda-tl-feed__time {
  font-size: 9px;
  color: #555;
}

How to use Activity Feed

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.

More timelines components

← Browse all NudaUI components