Skip to content

Vertical Ticker

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

Marquees & TickersHTMLCSSany framework

Copy into your project

HTML
<div class="nuda-vticker" aria-live="polite">
  <div class="nuda-vticker__track">
    <div class="nuda-vticker__item">New feature launched</div>
    <div class="nuda-vticker__item">v2.0 released today</div>
    <div class="nuda-vticker__item">100k downloads</div>
    <!-- Duplicate for seamless loop -->
    <div class="nuda-vticker__item">New feature launched</div>
    <div class="nuda-vticker__item">v2.0 released today</div>
    <div class="nuda-vticker__item">100k downloads</div>
  </div>
</div>
CSS
/* Vertical Ticker
   Vertically scrolling news/notification ticker.
   Customize: --vticker-speed, --vticker-height */

.nuda-vticker {
  --vticker-speed: 8s;
  --vticker-height: 2rem;
  height: var(--vticker-height);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0 0.75rem;
}

.nuda-vticker__track {
  animation: nuda-vticker-scroll var(--vticker-speed) linear infinite;
}

.nuda-vticker__item {
  font-size: 0.85rem;
  color: #ccc;
  line-height: var(--vticker-height);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nuda-vticker:hover .nuda-vticker__track {
  animation-play-state: paused;
}

@keyframes nuda-vticker-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .nuda-vticker__track { animation: none; }
}

How to use Vertical Ticker

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 marquees & tickers components

← Browse all NudaUI components