Composant Avis sur les produits
Un composant d’avis sur les produits avec des éléments de conception 3D, des effets réactifs et la prise en charge du thème sombre à l’aide de 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
Composants associés
Composant Avis sur les produits
Composant avec conception matérielle, effets réactifs et prise en charge du thème sombre.
Composant (Pastel skeuomorphe)
Un composant complexe et réactif d’avis sur les produits avec une esthétique de design skeuomorphe utilisant des couleurs pastel et prenant en charge le mode sombre. Comprend des cartes superposées, des dégradés subtils et des ombres pour créer de la profondeur. Comprend l’avatar, le nom, le nombre d’étoiles, le texte de l’avis et des images facultatives. Utilise Tailwind CSS exclusivement sans JavaScript.
Composant Avis sur les produits
Composant utilisant Tailwind CSS avec le style Neumorphism, les effets réactifs et la prise en charge du thème sombre. Aucun code JavaScript n’est inclus. Des images et des avatars de substitution sont utilisés.