Skip to content

Quote with Spotlight

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

Quotes & TestimonialsHTMLCSSany framework

This is the rare product that gets out of its own way. Every interaction feels intentional.

Elena Vasquez · Director, Field Labs

Copy into your project

HTML
<article class="nuda-spotlight">
  <div class="nuda-spotlight__glow" aria-hidden="true"></div>
  <span class="nuda-spotlight__mark" aria-hidden="true">&ldquo;</span>
  <p>This is the rare product that gets out of its own way. Every interaction feels intentional.</p>
  <footer>
    <span class="nuda-spotlight__avatar" aria-hidden="true">EV</span>
    <span>Elena Vasquez &middot; Director, Field Labs</span>
  </footer>
</article>
CSS
/* Quote with Spotlight
   Radial highlight slowly drifts behind the quote. */

.nuda-spotlight {
  position: relative;
  max-width: 420px;
  padding: 2rem 1.75rem 1.5rem;
  background: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fafafa;
  font-family: ui-sans-serif, system-ui, sans-serif;
  overflow: hidden;
  isolation: isolate;
}

.nuda-spotlight__glow {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 160%;
  background: radial-gradient(
    closest-side,
    rgba(228, 255, 84, 0.22),
    transparent 70%
  );
  filter: blur(8px);
  z-index: -1;
  animation: nuda-sp-drift 8s ease-in-out infinite;
}

@keyframes nuda-sp-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40%, 10%); }
}

.nuda-spotlight__mark {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-size: 5rem;
  line-height: 1;
  color: #e4ff54;
  font-family: Georgia, serif;
  opacity: 0.18;
  font-weight: 700;
  pointer-events: none;
}

.nuda-spotlight p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.nuda-spotlight footer {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: #a0a0a8;
}

.nuda-spotlight__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4ff54, #ffb45e);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0c0c10;
}

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

How to use Quote with Spotlight

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 quotes & testimonials components

← Browse all NudaUI components