Price Display Component
A responsive price display component styled with retro/vintage aesthetics and vibrant colors, suitable for social media interfaces, with dark mode support.
HTML Code
<div class="max-w-xs mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden">
<div class="p-5">
<img src="https://picsum.photos/300/200" alt="Product Image" class="w-full h-40 object-cover rounded-md mb-4">
<div class="flex items-center mb-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-white dark:border-gray-800">
<div class="ml-3">
<h2 class="text-lg text-violet-600 dark:text-violet-400 font-bold">John Doe</h2>
<span class="text-sm text-gray-600 dark:text-gray-300">@johndoe</span>
</div>
</div>
<h3 class="text-2xl text-red-600 dark:text-red-400 font-semibold mb-2">$49.99</h3>
<p class="text-gray-700 dark:text-gray-300 mb-4">Original Vintage T-Shirt from the 80s.</p>
<button class="w-full bg-blue-500 dark:bg-blue-700 text-white font-semibold py-2 rounded hover:bg-blue-600 dark:hover:bg-blue-600 transition duration-200">Add to Cart</button>
</div>
</div>
Related Components
Price Display Component
A responsive price display component for a dashboard, featuring engaging microinteractions and a triadic color scheme, with support for dark mode.
Price Display Component
A 3D-inspired Price Display Component with a monochromatic color scheme, designed for social media interfaces. It's a complex, responsive component with dark mode support, built using Tailwind CSS. No JavaScript is included.
Price Display Component
A retro-vintage style complex price display component for portfolios, featuring a triadic color scheme, responsiveness, and dark mode support using Tailwind CSS. No JavaScript is included.