Components Add to Cart Button Add to Cart Button Component 46

Add to Cart Button Component 46

A retro/vintage 'Add to Cart' button component designed with Tailwind CSS, featuring responsive design and support for dark themes.

Preview

HTML Code

<div class="flex flex-col items-center justify-center p-8 bg-white dark:bg-gray-800 rounded-lg shadow-lg">
    <img src="https://picsum.photos/200/100?random=1" alt="Product Image" class="w-full h-auto rounded-md mb-4">
    <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-2">Retro Product Name</h2>
    <p class="text-gray-600 dark:text-gray-300 mb-4">This is a brief description of the retro product.</p>
    <div class="flex items-center space-x-2">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-gray-300 dark:border-gray-600">
        <button class="px-4 py-2 font-semibold text-white bg-blue-600 rounded-lg shadow hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 dark:bg-blue-700 dark:hover:bg-blue-800 dark:focus:ring-blue-600">Add to Cart</button>
    </div>
</div>

Related Components

Add to Cart Button Component - Memphis Grayscale Weather

A complex 'Add to Cart' button component with Memphis design inspiration using a grayscale color scheme, adapted for a weather/climate product. Features include a dynamic icon, loading state, pulse animation, and an item count, all responsive and with dark mode support. This component is designed as a playful yet functional call-to-action for weather data subscriptions or climate-related products.

Open

Add to Cart Button Component

A 3D styled Add to Cart button component with vibrant colors, responsive design, and dark theme support using Tailwind CSS.

Open

Retro Add to Cart Button

Responsive 'Add to Cart' button with Retro/Vintage design, Complementary color scheme, and moderate complexity for a dashboard purpose. Supports dark mode.

Open