Skip to content

Staggered Entry List

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

Scroll-DrivenHTMLCSSany framework
Alpha release notes
Beta feedback
Changelog entry
Roadmap item

Copy into your project

HTML
<!-- Items slide in from alternating sides as they enter the scrollport -->
<div class="nuda-sd2-stagger__item nuda-sd2-stagger__item--odd">Alpha release notes</div>
<div class="nuda-sd2-stagger__item nuda-sd2-stagger__item--even">Beta feedback</div>
<div class="nuda-sd2-stagger__item nuda-sd2-stagger__item--odd">Changelog entry</div>
CSS
.nuda-sd2-stagger {
  height: 160px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: #09090b;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.nuda-sd2-stagger__item {
  flex: 0 0 auto;
  padding: .55rem .8rem;
  border-radius: 8px;
  background: rgba(228,255,84,.05);
  border: 1px solid rgba(228,255,84,.16);
  color: #e4ff54;
  font-size: .75rem;
  font-weight: 600;
  opacity: 0;
  animation: nuda-sd2-stagger-in linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.nuda-sd2-stagger__item--odd {
  transform: translateX(-26px) rotate(-3deg);
}

.nuda-sd2-stagger__item--even {
  transform: translateX(26px) rotate(3deg);
}

@keyframes nuda-sd2-stagger-in {
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@supports not (animation-timeline:view()) {
  .nuda-sd2-stagger__item {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-sd2-stagger__item {
    animation: none;
    animation-timeline: none;
    opacity: 1;
    transform: none;
  }
}

How to use Staggered Entry List

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 scroll-driven components

← Browse all NudaUI components