Product Reviews Component
A product reviews component with 3D design elements, responsive effects, and dark theme support using Tailwind CSS.
HTML Code
<div class="antialiased w-full">
<div class="container px-4 mx-auto">
<div class="flex flex-wrap items-center -mx-4">
<div class="w-full lg:w-2/3 mx-auto">
<div class="max-w-2xl mx-auto">
<div class="mb-6 md:mb-8">
<span class="text-lg text-blue-500 font-bold">Reviews</span>
<h2 class="text-3xl md:text-4xl mt-2 font-bold font-heading">Customer Reviews</h2>
</div>
<div class="mb-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<img class="h-12 w-12 rounded-full object-cover" src="https://randomuser.me/api/portraits/women/33.jpg" alt="user avatar">
<div class="ml-4">
<p class="text-lg font-semibold">Alice Williams</p>
<p class="text-sm text-gray-500">January 20, 2024</p>
</div>
</div>
<div class="flex items-center">
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-gray-300 text-xl">★</span>
</div>
</div>
<div class="p-6 bg-gray-100 rounded-lg shadow-md dark:bg-gray-700">
<p class="leading-loose text-gray-500 dark:text-gray-300">"Absolutely love this product! The quality is top-notch, and it exceeded my expectations. Highly recommend it to everyone."</p>
</div>
</div>
<div class="mb-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<img class="h-12 w-12 rounded-full object-cover" src="https://randomuser.me/api/portraits/men/76.jpg" alt="user avatar">
<div class="ml-4">
<p class="text-lg font-semibold">Robert Johnson</p>
<p class="text-sm text-gray-500">January 18, 2024</p>
</div>
</div>
<div class="flex items-center">
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl mr-1">★</span>
<span class="text-yellow-500 text-xl">★</span>
</div>
</div>
<div class="p-6 bg-gray-100 rounded-lg shadow-md dark:bg-gray-700">
<p class="leading-loose text-gray-500 dark:text-gray-300">"This is by far the best purchase I
Related Components
Product Reviews Component
A minimalist product reviews component designed using Tailwind CSS, featuring responsive effects and dark theme support.
Product Reviews Component
A responsive product reviews component designed for social media interfaces, featuring a dark mode UI with a grayscale color scheme. Includes ratings, user avatars, review text, and a 'Read More' button.
Skeuomorphic Product Reviews Component - Ocean Blue
A moderate complexity product review component designed with a skeuomorphic style, utilizing ocean/blue tones for a business/corporate purpose. It features responsive design, dark mode support, and interactive elements.