Media Components
A Neumorphism styled component for media display with responsive design and dark theme support.
HTML Code
<div class="flex flex-col items-center justify-center p-6 bg-white rounded-xl shadow-lg dark:bg-gray-800 dark:shadow-gray-900 hover:shadow-xl transition-shadow duration-300 ease-in-out">
<div class="mb-4">
<img src="https://picsum.photos/300/200" alt="Media" class="w-full h-auto rounded-lg shadow-md" />
</div>
<div class="flex items-center mb-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-10 h-10 rounded-full shadow-lg mr-2">
<h2 class="text-lg font-semibold dark:text-white">User Name</h2>
</div>
<p class="text-gray-700 dark:text-gray-300 text-center">
This is a description of the media content that is displayed above. It's designed with a soft UI style to enhance the visual appeal.
</p>
</div>
Related Components
Media Components Component
A responsive media component inspired by retro/vintage design styles, featuring nostalgic aesthetics from the 80s/90s. It supports dark theme with Tailwind CSS and includes placeholder images and avatars.
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.
Glassmorphism Media Components Component
Glassmorphism Media Component with responsive effects and dark theme support using Tailwind CSS