Components Media Components Media Components Component

Media Components Component

A responsive media component featuring microinteractions with engaging animations, designed with Tailwind CSS. It supports dark theme and includes placeholder images and avatars.

Preview

HTML Code

<div class="w-full max-w-xs bg-white dark:bg-gray-800 rounded-lg overflow-hidden shadow-lg transition-transform transform hover:scale-105 hover:shadow-xl duration-300">
    <img src="https://picsum.photos/400/200" alt="Media Image" class="w-full h-32 object-cover">
    <div class="p-4">
        <div class="flex items-center space-x-4">
            <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-12 h-12 rounded-full shadow-md">
            <div>
                <h2 class="text-lg font-semibold text-gray-800 dark:text-white">Media Title</h2>
                <p class="text-gray-600 dark:text-gray-300">Media description goes here. It can be a brief overview or any content relevant to the media.</p>
            </div>
        </div>
    </div>
    <div class="p-4 border-t border-gray-200 dark:border-gray-700">
        <button class="w-full py-2 text-white bg-blue-500 rounded-lg hover:bg-blue-600 focus:outline-none focus:ring focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 transition duration-150">Watch Now</button>
    </div>
</div>

Related Components

Media Components Component

A responsive media component for finance/banking interfaces, featuring clean design, blue tones, and dark mode support. Includes a main content area with image, title, description, and action button, along with a list of related articles or insights.

Open

Art Deco Travel Media Component

A complex Art Deco inspired media component for travel and tourism websites, featuring destination highlights with sepia/brown tones and geometric patterns. Fully responsive with dark mode support.

Open

Media Components Component

A complex, dark mode UI media component for documentation/wiki sites, featuring a gradient rainbow color scheme. It includes various media types like video, audio, and images with detailed information and interactive elements, all responsive and using semantic HTML.

Open