User Mentions Component
A User Mentions Component designed with a Glassmorphism style featuring frosted glass-like translucent elements with blur effects. It includes a dark theme support and is responsive, making it suitable for e-commerce websites.
HTML Code
<div class="flex flex-col items-center justify-center min-h-screen p-4 bg-gradient-to-b from-gray-800 to-gray-900">
<div class="w-full max-w-md p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg backdrop-filter backdrop-blur-md bg-opacity-30 dark:bg-opacity-30">
<h2 class="text-xl font-semibold text-gray-800 dark:text-white">User Mentions</h2>
<div class="mt-4 space-y-4">
<div class="flex items-center p-4 bg-white dark:bg-gray-700 rounded-lg shadow-sm hover:shadow-md transition-shadow">
<img src="https://randomuser.me/api/portraits/men/11.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-blue-500">
<div class="ml-3">
<p class="text-gray-800 dark:text-white font-medium">John Doe</p>
<p class="text-gray-600 dark:text-gray-300 text-sm">@john_doe</p>
</div>
<img src="https://picsum.photos/200/100" alt="Product Image" class="ml-auto rounded-lg shadow-lg w-16 h-16">
</div>
<div class="flex items-center p-4 bg-white dark:bg-gray-700 rounded-lg shadow-sm hover:shadow-md transition-shadow">
<img src="https://randomuser.me/api/portraits/women/12.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-green-500">
<div class="ml-3">
<p class="text-gray-800 dark:text-white font-medium">Jane Smith</p>
<p class="text-gray-600 dark:text-gray-300 text-sm">@jane_smith</p>
</div>
<img src="https://picsum.photos/200/101" alt="Product Image" class="ml-auto rounded-lg shadow-lg w-16 h-16">
</div>
<div class="flex items-center p-4 bg-white dark:bg-gray-700 rounded-lg shadow-sm hover:shadow-md transition-shadow">
<img src="https://randomuser.me/api/portraits/men/13.jpg" alt="User Avatar" class="w-10 h-10 rounded-full border-2 border-red-500">
<div class="ml-3">
<p class="text-gray-800 dark:text-white font-medium">Mike Johnson</p>
<p class="text-gray-600 dark:text-gray-300 text-sm">@mike_johnson</p>
</div>
<img src="https://picsum.photos/200/102" alt="Product Image" class="ml-auto rounded-lg shadow-lg w-16 h-16">
</div>
</div>
<button class="mt-6 bg-blue-500 hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-600 text-white font-semibold py-2 px-4 rounded-lg transition duration-300 w-full">View More</button>
</div>
</div>
Related Components
User Mentions Component
A responsive User Mentions Component with 3D design elements, grayscale color scheme, and dark theme support for business/corporate websites. Uses Tailwind CSS and includes placeholder images/avatars.
User Mentions Component
A responsive User Mentions Component with dark theme support using Tailwind CSS. No JavaScript is needed, only HTML with Tailwind classes. For dark mode, use Tailwind's dark: prefix for styling. Images are from picsum.photos and avatars from randomuser.me.
User Mentions Component
A responsive User Mentions Component designed with Retro/Vintage style and analogous color scheme, supporting dark mode. It features user avatars, names, and message text suitable for social media interfaces.