Content Display Component

A Content Display Component designed in a skeuomorphic style for E-commerce with a dark theme. It showcases products with minimal elements, using an analogous color scheme for a pleasing aesthetic.

Preview

HTML Code

<div class="bg-gray-100 dark:bg-gray-900 p-6 rounded-lg shadow-lg">
  <div class="flex flex-col justify-center items-center">
    <img class="w-full h-48 object-cover rounded-t-lg" src="https://picsum.photos/500/300" alt="Product Image">
    <div class="bg-white dark:bg-gray-800 p-4 rounded-b-lg w-full">
      <h2 class="text-lg font-semibold text-gray-800 dark:text-gray-100">Product Name</h2>
      <p class="text-gray-600 dark:text-gray-300">$29.99</p>
      <p class="text-gray-700 dark:text-gray-300">A short description of the product goes here, detailing its features and benefits.</p>
      <div class="flex items-center mt-4">
        <img class="w-10 h-10 rounded-full border-2 border-gray-200 dark:border-gray-600" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
        <span class="text-gray-800 dark:text-gray-200 ml-2">Seller Name</span>
      </div>
      <button class="mt-4 bg-blue-500 dark:bg-blue-700 text-white font-bold py-2 px-4 rounded hover:bg-blue-800 dark:hover:bg-blue-600">Add to Cart</button>
    </div>
  </div>
</div>

Related Components

Content Display Components

A 3D design portfolio showcasing work or products with a grayscale color scheme and responsive design, supporting dark mode.

Open

Content Display Components Component

A responsive content display component designed for business/corporate websites with dark mode support and a vibrant color scheme. It includes sections for user avatars, text content, and images.

Open

Content Display Components

A responsive content display component for blog or content consumption with a 3D design style and dark theme support.

Open