Columns Component
A responsive columns component with small engaging animations, suitable for e-commerce with a dark theme.
HTML Code
<div class="container mx-auto">
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
<div class="transition-transform transform hover:scale-105 bg-white dark:bg-gray-800 shadow-lg rounded-lg overflow-hidden">
<img src="https://picsum.photos/400/300?random=1" alt="Product 1" class="w-full h-48 object-cover">
<div class="p-4">
<div class="flex items-center space-x-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-8 h-8 rounded-full">
<span class="font-semibold text-gray-800 dark:text-white">Product 1</span>
</div>
<p class="text-gray-600 dark:text-gray-300">$29.99</p>
</div>
</div>
<div class="transition-transform transform hover:scale-105 bg-white dark:bg-gray-800 shadow-lg rounded-lg overflow-hidden">
<img src="https://picsum.photos/400/301?random=1" alt="Product 2" class="w-full h-48 object-cover">
<div class="p-4">
<div class="flex items-center space-x-2">
<img src="https://randomuser.me/api/portraits/men/2.jpg" alt="User Avatar" class="w-8 h-8 rounded-full">
<span class="font-semibold text-gray-800 dark:text-white">Product 2</span>
</div>
<p class="text-gray-600 dark:text-gray-300">$39.99</p>
</div>
</div>
<div class="transition-transform transform hover:scale-105 bg-white dark:bg-gray-800 shadow-lg rounded-lg overflow-hidden">
<img src="https://picsum.photos/400/302?random=1" alt="Product 3" class="w-full h-48 object-cover">
<div class="p-4">
<div class="flex items-center space-x-2">
<img src="https://randomuser.me/api/portraits/men/3.jpg" alt="User Avatar" class="w-8 h-8 rounded-full">
<span class="font-semibold text-gray-800 dark:text-white">Product 3</span>
</div>
<p class="text-gray-600 dark:text-gray-300">$49.99</p>
</div>
</div>
</div>
</div>
Related Components
Playful_Documentation_Columns_Component
A playful and colorful documentation/wiki columns component with sunset/warm tones, rounded elements, and dark mode support. Designed for responsiveness across all devices.
Columns Component
A responsive columns component designed for portfolio showcasing with dark mode support, using a grayscale color scheme and Tailwind CSS.
Columns Component
Responsive Columns Component with Glassmorphism style, Triadic color scheme, Simple complexity level for Business/Corporate purpose, includes dark mode support.