Media Embed Component
A minimalist media embed component designed for dashboards with responsive design and dark theme support using Tailwind CSS.
HTML Code
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-4 max-w-xs mx-auto">
<div class="relative overflow-hidden rounded-lg">
<img src="https://picsum.photos/400/200" alt="Media" class="w-full h-48 object-cover rounded-lg">
</div>
<div class="mt-4">
<div class="flex items-center">
<img src="https://randomuser.me/api/portraits/men/10.jpg" alt="Avatar" class="w-10 h-10 rounded-full border-2 border-gray-500 dark:border-gray-300">
<div class="ml-4">
<h2 class="text-lg font-semibold dark:text-white">Media Title</h2>
<p class="text-gray-600 dark:text-gray-400">Short description of the media content goes here.</p>
</div>
</div>
<div class="mt-2">
<button class="bg-gray-800 text-white py-1 px-3 rounded hover:bg-gray-700 dark:bg-gray-300 dark:text-gray-800 dark:hover:bg-gray-400">Action Button</button>
</div>
</div>
</div>
Related Components
Media Embed Component
A responsive Media Embed Component designed with Glassmorphism style, featuring interactive elements for content consumption.
Media Embed Component 14
A Media Embed Component designed in a skeuomorphic style, featuring responsive effects and dark theme support. It includes an image, description, and user avatar.
Media Embed Component
A responsive media embed component with 3D design elements and dark theme support using Tailwind CSS.