Catalogo design-system components/product-lists

← catalogo / components/product-lists

Components · Product lists · With tall images

TW-CO-PL-04 Tailwind Plus

tailwind/ecommerce/components/product-lists/04-with-tall-images

Da toccare per il marchio

  • collegamenti a vuoto: puntali alle rotte vere

Sorgente (html)

<div class="bg-white">
  <div class="mx-auto max-w-2xl px-4 py-16 sm:px-6 sm:py-24 lg:max-w-7xl lg:px-8">
    <h2 id="products-heading" class="sr-only">Products</h2>

    <div class="grid grid-cols-1 gap-x-6 gap-y-10 sm:grid-cols-2 lg:grid-cols-3 xl:gap-x-8">
      <a href="#" class="group">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/category-page-01-image-card-01.jpg" alt="Person using a pen to cross a task off a productivity paper card." class="aspect-square w-full overflow-hidden rounded-lg object-cover group-hover:opacity-75 sm:aspect-2/3" />
        <div class="mt-4 flex items-center justify-between text-base font-medium text-gray-900">
          <h3>Focus Paper Refill</h3>
          <p>$13</p>
        </div>
        <p class="mt-1 text-sm text-gray-500 italic">3 sizes available</p>
      </a>
      <a href="#" class="group">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/category-page-01-image-card-02.jpg" alt="Paper card sitting upright in walnut card holder on desk." class="aspect-square w-full overflow-hidden rounded-lg object-cover group-hover:opacity-75 sm:aspect-2/3" />
        <div class="mt-4 flex items-center justify-between text-base font-medium text-gray-900">
          <h3>Focus Card Holder</h3>
          <p>$64</p>
        </div>
        <p class="mt-1 text-sm text-gray-500 italic">Walnut</p>
      </a>
      <a href="#" class="group">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/category-page-01-image-card-03.jpg" alt="Textured gray felt pouch for paper cards with snap button flap and elastic pen holder loop." class="aspect-square w-full overflow-hidden rounded-lg object-cover group-hover:opacity-75 sm:aspect-2/3" />
        <div class="mt-4 flex items-center justify-between text-base font-medium text-gray-900">
          <h3>Focus Carry Case</h3>
          <p>$32</p>
        </div>
        <p class="mt-1 text-sm text-gray-500 italic">Heather Gray</p>
      </a>
      <a href="#" class="group">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/category-page-01-image-card-04.jpg" alt="Stack of 3 small drab green cardboard paper card refill boxes with white text." class="aspect-square w-full overflow-hidden rounded-lg object-cover group-hover:opacity-75 sm:aspect-2/3" />
        <div class="mt-4 flex items-center justify-between text-base font-medium text-gray-900">
          <h3>Focus Multi-Pack</h3>
          <p>$39</p>
        </div>
        <p class="mt-1 text-sm text-gray-500 italic">3 refill packs</p>
      </a>
      <a href="#" class="group">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/category-page-01-image-card-05.jpg" alt="Hand holding black machined steel mechanical pencil with brass tip and top." class="aspect-square w-full overflow-hidden rounded-lg object-cover group-hover:opacity-75 sm:aspect-2/3" />
        <div class="mt-4 flex items-center justify-between text-base font-medium text-gray-900">
          <h3>Machined Mechanical Pencil</h3>
          <p>$35</p>
        </div>
        <p class="mt-1 text-sm text-gray-500 italic">Black and brass</p>
      </a>
      <a href="#" class="group">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/category-page-01-image-card-06.jpg" alt="Brass scissors with geometric design, black steel finger holes, and included upright brass stand." class="aspect-square w-full overflow-hidden rounded-lg object-cover group-hover:opacity-75 sm:aspect-2/3" />
        <div class="mt-4 flex items-center justify-between text-base font-medium text-gray-900">
          <h3>Brass Scissors</h3>
          <p>$50</p>
        </div>
        <p class="mt-1 text-sm text-gray-500 italic">Includes brass stand</p>
      </a>
    </div>
  </div>
</div>