Add to Cart Button
A Skeuomorphic 'Add to Cart' button component designed with Tailwind CSS, featuring responsive effects and dark theme support.
HTML Code
<div class="flex items-center justify-center h-screen bg-gray-100 dark:bg-gray-900">
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 flex items-center space-x-4 transition-transform transform hover:scale-105">
<img src="https://picsum.photos/50" alt="Product Image" class="w-12 h-12 rounded-lg shadow">
<div class="flex-1">
<h2 class="text-lg font-bold text-gray-800 dark:text-gray-200">Product Name</h2>
<p class="text-gray-600 dark:text-gray-400">Short description of the product.</p>
</div>
<button class="bg-blue-500 text-white font-semibold py-2 px-4 rounded-lg shadow-md hover:bg-blue-400 transition duration-200">
Add to Cart
</button>
</div>
</div>
Related Components
Add to Cart Button
A responsive Add to Cart button component designed with skeuomorphic elements, vibrant colors, and dark theme support, suitable for blog and content consumption purposes.
Add to Cart Button Component
A responsive "Add to Cart" button component styled with Material Design principles, featuring a triadic color scheme and supporting dark mode. Designed for dashboard use, it includes a quantity selector and integrates depth effects using Tailwind CSS for shadows and animations.
Add to Cart Button Component
A nature-inspired, pastel-colored 'Add to Cart' button component designed for healthcare/medical applications, featuring flowing lines and responsive design with dark mode support.