Skip to content

Inline Quote with Link

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

Quotes & TestimonialsHTMLCSSany framework

Trusted by teams at Orbit, Helix, and Lumen, who call it the most useful thing we’ve added all year.

Copy into your project

HTML
<p class="nuda-inline-quote">
  Trusted by teams at
  <a class="nuda-inline-quote__link" href="#orbit">Orbit</a>,
  <a class="nuda-inline-quote__link" href="#helix">Helix</a>, and
  <a class="nuda-inline-quote__link" href="#lumen">Lumen</a>,
  who call it
  <q class="nuda-inline-quote__q">the most useful thing we've added all year</q>.
</p>
CSS
/* Inline Quote with Link
   Inline blockquote tucked into running prose with animated link underlines. */

.nuda-inline-quote {
  max-width: 480px;
  margin: 0;
  padding: 1rem 1.25rem;
  background: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #a0a0a8;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.nuda-inline-quote__link {
  position: relative;
  color: #fafafa;
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(#e4ff54, #e4ff54);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition:
    background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
}

.nuda-inline-quote__link:hover,
.nuda-inline-quote__link:focus-visible {
  background-size: 100% 1px;
  color: #e4ff54;
  outline: none;
}

.nuda-inline-quote__q {
  font-style: italic;
  color: #fafafa;
  quotes: "\201C" "\201D";
}

.nuda-inline-quote__q::before {
  content: open-quote;
  color: #e4ff54;
  margin-right: 0.05em;
}

.nuda-inline-quote__q::after {
  content: close-quote;
  color: #e4ff54;
  margin-left: 0.05em;
}

@media (prefers-reduced-motion: reduce) {
  .nuda-inline-quote__link { transition: none; }
}

How to use Inline Quote with Link

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