Components Media Components Retro Media Component

Retro Media Component

A responsive media component with a retro/vintage design, supports dark mode.

Preview

HTML Code

<div class="bg-gray-200 dark:bg-gray-800 p-6 rounded-lg shadow-md transform hover:scale-105 transition duration-300">
  <img class="w-full h-48 object-cover rounded-t-lg mb-4" src="https://picsum.photos/seed/retro/600/400" alt="Retro Image">
  <div class="text-gray-700 dark:text-gray-300">
    <h2 class="text-xl font-bold mb-2">Retro Media Title</h2>
    <p class="text-base mb-4">This is a description of the retro media component, evoking a sense of nostalgia with its vintage design and colors.</p>
    <div class="flex items-center text-sm">
      <img class="w-8 h-8 rounded-full mr-2" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Author Avatar">
      <span>By John Doe</span>
      <span class="ml-auto">Posted on 1995-10-26</span>
    </div>
  </div>
</div>

Related Components

Media Components Component with Glassmorphism

Component with Glassmorphism design, responsive and dark mode support

Open

Glassmorphic Media Component

A responsive media card component with a glassmorphism design (frosted glass effect) built with Tailwind CSS. Features an image placeholder (from picsum.photos) with a hover-reveal play icon, text content, an author section with an avatar (from randomuser.me), and action buttons. The component supports dark mode using Tailwind CSS 'dark:' variants and is responsive across various screen sizes. No JavaScript is required. For optimal visual effect, place this component on a contrasting background. Dark mode functionality assumes appropriate Tailwind CSS configuration (e.g., 'darkMode: "class"' in your tailwind.config.js).

Open

Media Components Component 39

A Media Component designed with Dark Mode UI, featuring responsive effects and dark theme support using Tailwind CSS.

Open