Catalogo design-system components/category-previews

← catalogo / components/category-previews

Components · Category previews · Three column with description

TW-CO-CP-04 Tailwind Plus

tailwind/ecommerce/components/category-previews/04-three-column-with-description

Da toccare per il marchio

  • collegamenti a vuoto: puntali alle rotte vere

Sorgente (html)

<div class="bg-white">
  <div class="mx-auto max-w-xl px-4 py-16 sm:px-6 sm:py-24 lg:max-w-7xl lg:px-8">
    <h2 class="text-2xl font-bold tracking-tight text-gray-900">Shop by Collection</h2>
    <p class="mt-4 text-base text-gray-500">Each season, we collaborate with world-class designers to create a collection inspired by the natural world.</p>

    <div class="mt-10 space-y-12 lg:grid lg:grid-cols-3 lg:space-y-0 lg:gap-x-8">
      <a href="#" class="group block">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-01-collection-01.jpg" alt="Brown leather key ring with brass metal loops and rivets on wood table." class="aspect-3/2 w-full rounded-lg object-cover group-hover:opacity-75 lg:aspect-5/6" />
        <h3 class="mt-4 text-base font-semibold text-gray-900">Handcrafted Collection</h3>
        <p class="mt-2 text-sm text-gray-500">Keep your phone, keys, and wallet together, so you can lose everything at once.</p>
      </a>
      <a href="#" class="group block">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-01-collection-02.jpg" alt="Natural leather mouse pad on white desk next to porcelain mug and keyboard." class="aspect-3/2 w-full rounded-lg object-cover group-hover:opacity-75 lg:aspect-5/6" />
        <h3 class="mt-4 text-base font-semibold text-gray-900">Organized Desk Collection</h3>
        <p class="mt-2 text-sm text-gray-500">The rest of the house will still be a mess, but your desk will look great.</p>
      </a>
      <a href="#" class="group block">
        <img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/home-page-01-collection-03.jpg" alt="Person placing task list card into walnut card holder next to felt carrying case on leather desk pad." class="aspect-3/2 w-full rounded-lg object-cover group-hover:opacity-75 lg:aspect-5/6" />
        <h3 class="mt-4 text-base font-semibold text-gray-900">Focus Collection</h3>
        <p class="mt-2 text-sm text-gray-500">Be more productive than enterprise project managers with a single piece of paper.</p>
      </a>
    </div>
  </div>
</div>