Components User Mentions User Mentions Component

User Mentions Component

A simple and minimalist user mentions component, with support for dark mode. Clickable user avatars and names are displayed in a flexbox layout. The component is responsive and adapts to different screen sizes.

Preview

HTML Code

<div class="bg-white dark:bg-gray-800 p-4 rounded-lg shadow">
  <h3 class="text-lg font-semibold mb-4 text-gray-900 dark:text-white">Mentioned Users</h3>
  <div class="flex flex-wrap gap-4">
    <div class="flex items-center space-x-2">
      <img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar">
      <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">John Doe</a>
    </div>
    <div class="flex items-center space-x-2">
      <img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User Avatar">
      <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">Jane Smith</a>
    </div>
    <div class="flex items-center space-x-2">
      <img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/78.jpg" alt="User Avatar">
      <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline">Peter Jones</a>
    </div>
  </div>
</div>

Related Components

User Mentions Component

A responsive User Mentions Component with Glassmorphism design, complementary color scheme, and dark mode support, suitable for business websites.

Open

User Mentions Component

A responsive user mentions component with dark theme support and microinteractions, designed for business websites using Tailwind CSS.

Open

User Mentions Component

A complex, minimalist user mentions component designed for educational platforms, featuring a neon/electric color scheme, responsiveness, and dark mode support. It displays recent mentions with user avatars, messages, and timestamps, including a 'View All' button.

Open