← catalogo / components/product-overviews
TW-CO-PO-01
Tailwind Plus
tailwind/ecommerce/components/product-overviews/01-with-tiered-images
<div class="bg-white">
<div class="pt-6 pb-16 sm:pb-24">
<nav aria-label="Breadcrumb" class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<ol role="list" class="flex items-center space-x-4">
<li>
<div class="flex items-center">
<a href="#" class="mr-4 text-sm font-medium text-gray-900">Women</a>
<svg viewBox="0 0 6 20" aria-hidden="true" class="h-5 w-auto text-gray-300">
<path d="M4.878 4.34H3.551L.27 16.532h1.327l3.281-12.19z" fill="currentColor" />
</svg>
</div>
</li>
<li>
<div class="flex items-center">
<a href="#" class="mr-4 text-sm font-medium text-gray-900">Clothing</a>
<svg viewBox="0 0 6 20" aria-hidden="true" class="h-5 w-auto text-gray-300">
<path d="M4.878 4.34H3.551L.27 16.532h1.327l3.281-12.19z" fill="currentColor" />
</svg>
</div>
</li>
<li class="text-sm">
<a href="#" aria-current="page" class="font-medium text-gray-500 hover:text-gray-600">Basic Tee</a>
</li>
</ol>
</nav>
<div class="mx-auto mt-8 max-w-2xl px-4 sm:px-6 lg:max-w-7xl lg:px-8">
<div class="lg:grid lg:auto-rows-min lg:grid-cols-12 lg:gap-x-8">
<div class="lg:col-span-5 lg:col-start-8">
<div class="flex justify-between">
<h1 class="text-xl font-medium text-gray-900">Basic Tee</h1>
<p class="text-xl font-medium text-gray-900">$35</p>
</div>
<!-- Reviews -->
<div class="mt-4">
<h2 class="sr-only">Reviews</h2>
<div class="flex items-center">
<p class="text-sm text-gray-700">
3.9
<span class="sr-only"> out of 5 stars</span>
</p>
<div class="ml-1 flex items-center">
<!-- Active: "text-yellow-400", Inactive: "text-gray-200" -->
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-yellow-400">
<path d="M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-yellow-400">
<path d="M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-yellow-400">
<path d="M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-yellow-400">
<path d="M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 shrink-0 text-gray-200">
<path d="M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
</div>
<div aria-hidden="true" class="ml-4 text-sm text-gray-300">·</div>
<div class="ml-4 flex">
<a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">See all 512 reviews</a>
</div>
</div>
</div>
</div>
<!-- Image gallery -->
<div class="mt-8 lg:col-span-7 lg:col-start-1 lg:row-span-3 lg:row-start-1 lg:mt-0">
<h2 class="sr-only">Images</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 lg:grid-rows-3 lg:gap-8">
<img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/product-page-01-featured-product-shot.jpg" alt="Back of women's Basic Tee in black." class="rounded-lg lg:col-span-2 lg:row-span-2" />
<img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/product-page-01-product-shot-01.jpg" alt="Side profile of women's Basic Tee in black." class="hidden rounded-lg lg:block" />
<img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/product-page-01-product-shot-02.jpg" alt="Front of women's Basic Tee in black." class="hidden rounded-lg lg:block" />
</div>
</div>
<div class="mt-8 lg:col-span-5">
<form>
<!-- Color picker -->
<div>
<h2 class="text-sm font-medium text-gray-900">Color</h2>
<fieldset aria-label="Choose a color" class="mt-2">
<div class="flex items-center gap-x-3">
<div class="flex rounded-full outline -outline-offset-1 outline-black/10">
<input type="radio" name="color" value="black" checked aria-label="Black" class="size-8 appearance-none rounded-full bg-gray-900 forced-color-adjust-none checked:outline-2 checked:outline-offset-2 checked:outline-gray-900 focus-visible:outline-3 focus-visible:outline-offset-3" />
</div>
<div class="flex rounded-full outline -outline-offset-1 outline-black/10">
<input type="radio" name="color" value="heather-grey" aria-label="Heather Grey" class="size-8 appearance-none rounded-full bg-gray-400 forced-color-adjust-none checked:outline-2 checked:outline-offset-2 checked:outline-gray-400 focus-visible:outline-3 focus-visible:outline-offset-3" />
</div>
</div>
</fieldset>
</div>
<!-- Size picker -->
<div class="mt-8">
<div class="flex items-center justify-between">
<h2 class="text-sm font-medium text-gray-900">Size</h2>
<a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">See sizing chart</a>
</div>
<fieldset aria-label="Choose a size" class="mt-2">
<div class="grid grid-cols-3 gap-3 sm:grid-cols-6">
<label aria-label="XXS" class="group relative flex items-center justify-center rounded-md border border-gray-300 bg-white p-3 has-checked:border-indigo-600 has-checked:bg-indigo-600 has-focus-visible:outline-2 has-focus-visible:outline-offset-2 has-focus-visible:outline-indigo-600 has-disabled:border-gray-400 has-disabled:bg-gray-200 has-disabled:opacity-25">
<input type="radio" name="size" value="xxs" class="absolute inset-0 appearance-none focus:outline-none disabled:cursor-not-allowed" />
<span class="text-sm font-medium text-gray-900 uppercase group-has-checked:text-white">XXS</span>
</label>
<label aria-label="XS" class="group relative flex items-center justify-center rounded-md border border-gray-300 bg-white p-3 has-checked:border-indigo-600 has-checked:bg-indigo-600 has-focus-visible:outline-2 has-focus-visible:outline-offset-2 has-focus-visible:outline-indigo-600 has-disabled:border-gray-400 has-disabled:bg-gray-200 has-disabled:opacity-25">
<input type="radio" name="size" value="xs" class="absolute inset-0 appearance-none focus:outline-none disabled:cursor-not-allowed" />
<span class="text-sm font-medium text-gray-900 uppercase group-has-checked:text-white">XS</span>
</label>
<label aria-label="S" class="group relative flex items-center justify-center rounded-md border border-gray-300 bg-white p-3 has-checked:border-indigo-600 has-checked:bg-indigo-600 has-focus-visible:outline-2 has-focus-visible:outline-offset-2 has-focus-visible:outline-indigo-600 has-disabled:border-gray-400 has-disabled:bg-gray-200 has-disabled:opacity-25">
<input type="radio" name="size" value="s" checked class="absolute inset-0 appearance-none focus:outline-none disabled:cursor-not-allowed" />
<span class="text-sm font-medium text-gray-900 uppercase group-has-checked:text-white">S</span>
</label>
<label aria-label="M" class="group relative flex items-center justify-center rounded-md border border-gray-300 bg-white p-3 has-checked:border-indigo-600 has-checked:bg-indigo-600 has-focus-visible:outline-2 has-focus-visible:outline-offset-2 has-focus-visible:outline-indigo-600 has-disabled:border-gray-400 has-disabled:bg-gray-200 has-disabled:opacity-25">
<input type="radio" name="size" value="m" class="absolute inset-0 appearance-none focus:outline-none disabled:cursor-not-allowed" />
<span class="text-sm font-medium text-gray-900 uppercase group-has-checked:text-white">M</span>
</label>
<label aria-label="L" class="group relative flex items-center justify-center rounded-md border border-gray-300 bg-white p-3 has-checked:border-indigo-600 has-checked:bg-indigo-600 has-focus-visible:outline-2 has-focus-visible:outline-offset-2 has-focus-visible:outline-indigo-600 has-disabled:border-gray-400 has-disabled:bg-gray-200 has-disabled:opacity-25">
<input type="radio" name="size" value="l" class="absolute inset-0 appearance-none focus:outline-none disabled:cursor-not-allowed" />
<span class="text-sm font-medium text-gray-900 uppercase group-has-checked:text-white">L</span>
</label>
<label aria-label="XL" class="group relative flex items-center justify-center rounded-md border border-gray-300 bg-white p-3 has-checked:border-indigo-600 has-checked:bg-indigo-600 has-focus-visible:outline-2 has-focus-visible:outline-offset-2 has-focus-visible:outline-indigo-600 has-disabled:border-gray-400 has-disabled:bg-gray-200 has-disabled:opacity-25">
<input type="radio" name="size" value="xl" disabled class="absolute inset-0 appearance-none focus:outline-none disabled:cursor-not-allowed" />
<span class="text-sm font-medium text-gray-900 uppercase group-has-checked:text-white">XL</span>
</label>
</div>
</fieldset>
</div>
<button type="submit" class="mt-8 flex w-full items-center justify-center rounded-md border border-transparent bg-indigo-600 px-8 py-3 text-base font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden">Add to cart</button>
</form>
<!-- Product details -->
<div class="mt-10">
<h2 class="text-sm font-medium text-gray-900">Description</h2>
<div class="mt-4 space-y-4 text-sm/6 text-gray-500">
<p>The Basic tee is an honest new take on a classic. The tee uses super soft, pre-shrunk cotton for true comfort and a dependable fit. They are hand cut and sewn locally, with a special dye technique that gives each tee it's own look.</p>
<p>Looking to stock your closet? The Basic tee also comes in a 3-pack or 5-pack at a bundle discount.</p>
</div>
</div>
<div class="mt-8 border-t border-gray-200 pt-8">
<h2 class="text-sm font-medium text-gray-900">Fabric & Care</h2>
<div class="mt-4">
<ul role="list" class="list-disc space-y-1 pl-5 text-sm/6 text-gray-500 marker:text-gray-300">
<li class="pl-2">Only the best materials</li>
<li class="pl-2">Ethically and locally made</li>
<li class="pl-2">Pre-washed and pre-shrunk</li>
<li class="pl-2">Machine wash cold with similar colors</li>
</ul>
</div>
</div>
<!-- Policies -->
<section aria-labelledby="policies-heading" class="mt-10">
<h2 id="policies-heading" class="sr-only">Our Policies</h2>
<dl class="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-1 xl:grid-cols-2">
<div class="rounded-lg border border-gray-200 bg-gray-50 p-6 text-center">
<dt>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" data-slot="icon" aria-hidden="true" class="mx-auto size-6 shrink-0 text-gray-400">
<path d="m6.115 5.19.319 1.913A6 6 0 0 0 8.11 10.36L9.75 12l-.387.775c-.217.433-.132.956.21 1.298l1.348 1.348c.21.21.329.497.329.795v1.089c0 .426.24.815.622 1.006l.153.076c.433.217.956.132 1.298-.21l.723-.723a8.7 8.7 0 0 0 2.288-4.042 1.087 1.087 0 0 0-.358-1.099l-1.33-1.108c-.251-.21-.582-.299-.905-.245l-1.17.195a1.125 1.125 0 0 1-.98-.314l-.295-.295a1.125 1.125 0 0 1 0-1.591l.13-.132a1.125 1.125 0 0 1 1.3-.21l.603.302a.809.809 0 0 0 1.086-1.086L14.25 7.5l1.256-.837a4.5 4.5 0 0 0 1.528-1.732l.146-.292M6.115 5.19A9 9 0 1 0 17.18 4.64M6.115 5.19A8.965 8.965 0 0 1 12 3c1.929 0 3.716.607 5.18 1.64" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<span class="mt-4 text-sm font-medium text-gray-900">International delivery</span>
</dt>
<dd class="mt-1 text-sm text-gray-500">Get your order in 2 years</dd>
</div>
<div class="rounded-lg border border-gray-200 bg-gray-50 p-6 text-center">
<dt>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" data-slot="icon" aria-hidden="true" class="mx-auto size-6 shrink-0 text-gray-400">
<path d="M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<span class="mt-4 text-sm font-medium text-gray-900">Loyalty rewards</span>
</dt>
<dd class="mt-1 text-sm text-gray-500">Don't look at other tees</dd>
</div>
</dl>
</section>
</div>
</div>
</div>
</div>
</div>