Components Media Components Media Components Component 39

Media Components Component 39

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

Preview

HTML Code

<div class="bg-gray-900 text-white p-6 rounded-lg shadow-md max-w-md mx-auto mt-10">
    <div class="flex items-center mb-4">
        <img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar">
        <div class="ml-4">
            <h2 class="text-xl font-bold">John Doe</h2>
            <p class="text-gray-400">Posted 2 hours ago</p>
        </div>
    </div>
    <img class="w-full rounded-lg mb-4" src="https://picsum.photos/600/400" alt="Media Content">
    <h3 class="text-lg font-semibold mb-2">Amazing Scenery</h3>
    <p class="text-gray-300">This is a beautiful representation of nature that showcases the stunning landscapes we often take for granted.</p>
    <div class="mt-4 flex justify-between">
        <button class="bg-red-600 text-white px-4 py-2 rounded hover:bg-red-700 focus:outline-none focus:ring focus:ring-red-300">Like</button>
        <button class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700 focus:outline-none focus:ring focus:ring-blue-300">Comment</button>
    </div>
</div>

Related Components

Media Components Component

A media component designed with skeuomorphism style using Tailwind CSS, featuring responsive effects and dark theme support.

Open

Media Components Component

A responsive Media Components Component with a Brutalism design, vibrant colors, and complex layout for a dashboard, featuring dark theme support and no JavaScript. Uses picsum.photos for images and randomuser.me for avatars.

Open

Brutalism Pastel Media Component

A simple, brutalist media component with a pastel color scheme, designed for a blog. Responsive with dark mode support.

Open