ComponentesComponents

TestimoniosTestimonials

Tres citas con iniciales, nombre y cargo.Three quotes with initials, name and role.

DiseñoDesign: Tailark mist (MIT) · testimonials/twoMITlanding · densidaddensity media · editorialMarkdownJSON

CódigoCode

<section class="s-testimonials" aria-labelledby="testimonials-title">
  <div class="s-testimonials__inner">
    <div class="s-testimonials__head">
      <h2 class="s-testimonials__title" id="testimonials-title" data-parte="titulo">Lo que dicen quienes lo usan</h2>
      <p class="s-testimonials__lead" data-parte="frase">Testimonios de ejemplo: reemplázalos por los de tus clientes.</p>
    </div>
    <ul class="s-testimonials__grid">
      <li><figure class="s-testimonials__fig"><blockquote class="s-testimonials__quote"><p class="s-testimonials__text" data-parte="t1-texto">Armé la landing de mi estudio en una tarde. Todo encaja y se ve cuidado.</p></blockquote><figcaption class="s-testimonials__who"><span class="s-testimonials__avatar" data-parte="t1-avatar" aria-hidden="true">LP</span><span class="s-testimonials__name" data-parte="t1-nombre">Lucía Paredes</span><span class="s-testimonials__dot" aria-hidden="true"></span><span class="s-testimonials__role" data-parte="t1-rol">Diseñadora</span></figcaption></figure></li>
      <li><figure class="s-testimonials__fig"><blockquote class="s-testimonials__quote"><p class="s-testimonials__text" data-parte="t2-texto">Por fin componentes que funcionan con teclado sin pelearme con ellos.</p></blockquote><figcaption class="s-testimonials__who"><span class="s-testimonials__avatar" data-parte="t2-avatar" aria-hidden="true">MQ</span><span class="s-testimonials__name" data-parte="t2-nombre">Mateo Quispe</span><span class="s-testimonials__dot" aria-hidden="true"></span><span class="s-testimonials__role" data-parte="t2-rol">Desarrollador frontend</span></figcaption></figure></li>
      <li><figure class="s-testimonials__fig"><blockquote class="s-testimonials__quote"><p class="s-testimonials__text" data-parte="t3-texto">Copiar y pegar, cambiar dos colores y listo. Así de simple.</p></blockquote><figcaption class="s-testimonials__who"><span class="s-testimonials__avatar" data-parte="t3-avatar" aria-hidden="true">AT</span><span class="s-testimonials__name" data-parte="t3-nombre">Ana Torres</span><span class="s-testimonials__dot" aria-hidden="true"></span><span class="s-testimonials__role" data-parte="t3-rol">Fundadora</span></figcaption></figure></li>
    </ul>
  </div>
</section>

«Todo» trae tokens, dependencias y componente en un solo archivo, listo para abrir o dárselo a un agente.“All” bundles tokens, dependencies and the component in one file, ready to open or hand to an agent.

InstalaciónInstallation

  1. Agrega una vezAdd once tokens.css (colores, radios, tema oscuro).(colors, radii, dark theme).
  2. Copia los archivos:Copy the files: testimonials.html, testimonials.css.
  3. Para el tema oscuro, pon la claseFor the dark theme, add the class dark ento <html>.

Cuándo usarloWhen to use it

ÚsaloUse it

  • Para mostrar opiniones reales de clientes.
  • To show real customer opinions.

Mejor noAvoid

  • Con citas inventadas: los ejemplos son para reemplazar.
  • With made-up quotes: the examples are placeholders.

AccesibilidadAccessibility

figureblockquote
  • Cada cita es un figure con blockquote y figcaption.
  • Each quote is a figure with blockquote and figcaption.

Cómo probarloHow to test it

  • El lector anuncia la cita y luego quién la dijo.
  • The screen reader announces the quote and then who said it.

CréditosCredits