Media Components Component 39
A Media Component designed with Dark Mode UI, featuring responsive effects and dark theme support using Tailwind CSS.
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 in the brutalism style, showcasing a bold layout with high contrast, responsive effects, and dark theme support using Tailwind CSS.
Brutalism_Job_Media_Card
A complex, brutalist-style media component for a job board, featuring high contrast, bold typography, and a purple/violet color scheme. Responsive with dark mode support.
Bauhaus_E-commerce_Media_Component
A responsive and functional e-commerce media component with a Bauhaus-inspired monochromatic design, dark mode support, emphasizing geometric forms and clear visual hierarchy for product presentation.